Skip to content

Commit e8f0d80

Browse files
committed
[eslint] clean up ignores
1 parent 335ad19 commit e8f0d80

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,10 @@
3939
},
4040
"env": {
4141
"node": true
42-
}
42+
},
43+
"ignorePatterns": [
44+
"node_modules/*",
45+
"index.d.ts",
46+
"coverage",
47+
]
4348
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"pretest": "rimraf coverage test/tmp",
1515
"test": "istanbul cover test/run.js",
1616
"posttest": "istanbul report lcov text",
17-
"lint": "eslint lib/*.js test/*.js test/integration/*.js",
17+
"lint": "eslint --ext=js,mjs .",
1818
"report": "istanbul report lcov text",
1919
"ci-lint": "is-node-modern 8 && npm run lint || is-node-not-modern 8",
2020
"ci-test": "npm run test && npm run browser && npm run report",

0 commit comments

Comments
 (0)