Skip to content

Commit ba1e312

Browse files
committed
[eslint] simplify eslint command
1 parent 0269025 commit ba1e312

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

flow/eslint-jsx.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import type {
55
JSXAttribute,
66
JSXOpeningElement,
7-
} from 'ast-types-flow';
7+
} from 'ast-types-flow';
88

99
export type ESLintJSXAttribute = {
1010
parent: JSXOpeningElement

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"create": "node ./scripts/create-rule",
2222
"flow": "if [ ! -e ./.flowconfig ]; then echo \"Could not find .flowconfig\"; else flow; test $? -eq 0 -o $? -eq 2; fi",
2323
"lint:fix": "npm run lint -- --fix",
24-
"lint": "eslint --config .eslintrc src __tests__ __mocks__ scripts",
24+
"lint": "eslint .",
2525
"prepublish": "not-in-publish || npm run prepublishOnly",
2626
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest && npm run build",
2727
"pretest": "npm run lint:fix && npm run flow",

0 commit comments

Comments
 (0)