Skip to content

Commit 65be35b

Browse files
committed
[meta] move .eslintignore to ignorePatterns
1 parent 6ad2312 commit 65be35b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.eslintignore

-3
This file was deleted.

.eslintrc

+5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
2+
"root": true,
23
"extends": [
34
"airbnb-base",
45
"plugin:flowtype/recommended"
56
],
7+
"ignorePatterns": [
8+
"lib/",
9+
"reports/",
10+
],
611
"parser": "@babel/eslint-parser",
712
"plugins": [
813
"flowtype",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"create": "node ./scripts/create-rule",
2323
"flow": "flow",
2424
"lint:fix": "npm run lint -- --fix",
25-
"lint": "eslint .",
25+
"lint": "eslint --ext=js,mjs,cjs,ts,tsx .",
2626
"prepublish": "not-in-publish || npm run prepublishOnly",
2727
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest && npm run build",
2828
"pretest": "npm run lint:fix && npm run flow",

0 commit comments

Comments
 (0)