Skip to content

Commit 74723d4

Browse files
committed
Lint only files in src directory (cypress tests cause pre-commit errors)
1 parent 8b2dbd2 commit 74723d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "vue-cli-service test:unit --coverage && npm run test:cypress",
1616
"test:unit": "vue-cli-service test:unit",
1717
"test:cypress": "node_modules/.bin/cypress open",
18-
"lint": "vue-cli-service lint && npx stylelint ./src/**/*.{vue,css} --fix",
18+
"lint": "vue-cli-service lint src/**/*.{vue,js} --fix && npx stylelint ./src/**/*.{vue,css} --fix",
1919
"i18n:report": "vue-cli-service i18n:report -v --src src/**/*.vue --locales src/locales/**.json -o output.json"
2020
},
2121
"dependencies": {

0 commit comments

Comments
 (0)