Skip to content

Commit 4352fd6

Browse files
committed
[eslint] clean up config
1 parent dafa1a7 commit 4352fd6

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.eslintignore

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

.eslintrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@
1010
"plugins": [
1111
"flowtype"
1212
],
13+
"ignorePatterns": [
14+
"lib/",
15+
"node_modules/",
16+
"reports/",
17+
"node_modules.nosync/",
18+
"__tests-built__",
19+
"coverage/",
20+
".nyc_output/",
21+
"flow-typed/",
22+
"flow/",
23+
],
1324
"overrides": [
1425
{
1526
"files": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"build": "rimraf lib && babel src --out-dir lib",
1111
"flow": "flow",
12-
"lint": "eslint --config .eslintrc src __tests__ scripts",
12+
"lint": "eslint --ext=js,mjs .",
1313
"lint:fix": "npm run lint -- --fix",
1414
"prepublishOnly": "npm run build",
1515
"pretest": "npm run lint:fix && npm run flow",

0 commit comments

Comments
 (0)