Add eslint for CI in package.json
This commit is contained in:
parent
847a543dab
commit
b5663d19ce
2 changed files with 5 additions and 2 deletions
|
|
@ -35,6 +35,7 @@
|
|||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": ["error", "double"],
|
||||
"semi": ["error", "always"],
|
||||
"vue/script-indent": ["error", 2, { "baseIndent": 0 }]
|
||||
"vue/script-indent": ["error", 2, { "baseIndent": 0 }],
|
||||
"vue/one-component-per-file": "off"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@
|
|||
"watch-poll": "mix watch -- --watch-options-poll=1000",
|
||||
"hot": "mix watch --hot",
|
||||
"production": "npm run clear-manifest && mix --production",
|
||||
"prod": "npm run production"
|
||||
"prod": "npm run production",
|
||||
"eslint": "node ./node_modules/.bin/eslint -c .eslintrc.json ./resources",
|
||||
"eslint-ci": "node ./node_modules/.bin/eslint -c .eslintrc.json ./resources -f junit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "^6.1.2",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue