Skip to content

Commit 4912ef9

Browse files
authored
Fix lint:js command to use ignore-pattern
1 parent 0e84eb5 commit 4912ef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "nuxt build",
99
"start": "nuxt start",
1010
"generate": "nuxt generate",
11-
"lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
11+
"lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-pattern '.gitignore' .",
1212
"lint:style": "stylelint \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore",
1313
"lint:prettier": "prettier --check .",
1414
"lint": "yarn lint:js && yarn lint:style && yarn lint:prettier",

0 commit comments

Comments
 (0)