Add prettier config, stop npm lint formatting, warn if formatting bad
This commit is contained in:
parent
5cd8a0a38d
commit
3900c3e1ad
2 changed files with 8 additions and 1 deletions
7
webapp/.prettierrc.json
Normal file
7
webapp/.prettierrc.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"trailingComma": "all",
|
||||
"semi": true,
|
||||
"singleQuote": false,
|
||||
"printWidth": 100,
|
||||
"tabWidth": 2
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
"gv": "genversion src/version.js",
|
||||
"serve": "npm run gv && vue-cli-service serve --mode development",
|
||||
"build": "npm run gv && vue-cli-service build --openssl-legacy-provider --mode production",
|
||||
"lint": "vue-cli-service lint",
|
||||
"lint": "vue-cli-service lint --no-fix --max-warnings 0",
|
||||
"lint:fix": "vue-cli-service lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue