Add new npm script to run normal eslint process

Matches counts, but is more concise and doesn't auto-fix.
This commit is contained in:
James Skemp 2020-06-15 08:31:55 -05:00
parent 385bdbbd00
commit 2a85852d40
2 changed files with 6 additions and 1 deletions

View File

@ -3,3 +3,7 @@ indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
[package.json]
indent_style = space
indent_size = 2

View File

@ -5,7 +5,8 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"lint": "vue-cli-service lint",
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx,.vue || (exit 0)"
},
"dependencies": {
"@vue/eslint-config-typescript": "^5.0.2",