@@ -123,3 +123,4 @@ $RECYCLE.BIN/
*.lnk
# End of https://www.toptal.com/developers/gitignore/api/vue,node,macos,windows,linux,vscode,intellij+all
+.turbo
@@ -12,6 +12,7 @@ module.exports = {
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ 'space-before-function-paren': 'off'
}
@@ -38,5 +38,13 @@
"sass": "^1.32.7",
"sass-loader": "^12.0.0",
"vue-template-compiler": "^2.6.14"
+ },
+ "lint-staged": {
+ "src/*": [
+ "prettier --write --cache --ignore-unknown"
+ ],
+ "src/*.js": [
+ "vue-cli-service lint --fix"
+ ]