Skip to content

Commit 46a11aa

Browse files
committed
fix: only run linter on non-dist files
1 parent 29ea35c commit 46a11aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"scripts": {
77
"build": "ncc build index.js -o dist",
88
"test": "jest",
9-
"lint": "eslint .",
10-
"lint:fix": "eslint . --fix"
9+
"lint": "eslint . --ignore-pattern 'dist/*'",
10+
"lint:fix": "eslint . --fix --ignore-pattern 'dist/*'"
1111
},
1212
"keywords": [
1313
"aws",

0 commit comments

Comments
 (0)