Skip to content

Commit 1d2fe46

Browse files
committed
eslint everything except under dist/
1 parent 5d8ad2d commit 1d2fe46

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"module": "dist/index.esm.js",
88
"scripts": {
99
"clean": "rm -rf dist",
10-
"lint": "eslint src/ && flow check",
10+
"lint": "eslint . && flow check",
1111
"prebuild": "npm run clean && npm run lint && mkdir dist",
1212
"build": "rollup -c && cp src/index.js.flow dist/index.umd.js.flow && cp src/index.js.flow dist/index.esm.js.flow",
1313
"test": "npm run build",
@@ -38,5 +38,8 @@
3838
"plugin:github/browser"
3939
],
4040
"parser": "babel-eslint"
41-
}
41+
},
42+
"eslintIgnore": [
43+
"dist/"
44+
]
4245
}

0 commit comments

Comments
 (0)