Skip to content

Commit e29a071

Browse files
committed
Get rid of eslint ignored file warning
1 parent 5d9d710 commit e29a071

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
dist/
2+
node_modules/
13
spec/vendor/openlocationcode.js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "npm run test:karma -- --single-run && npm run lint",
1414
"test:karma": "karma start spec/karma.conf.js",
1515
"lint": "npm run lint:js && npm run lint:style",
16-
"lint:js": "eslint $(git ls-files '*.js')",
16+
"lint:js": "eslint .",
1717
"lint:style": "prettier --check $(npm run ls-files)",
1818
"fix:style": "prettier --write $(npm run ls-files)",
1919
"ls-files": "git ls-files '*.js' '*.json' '*.css' '*.html' '*.yaml' '*.yml'",

0 commit comments

Comments
 (0)