Skip to content

Commit

Permalink
[eslint] simplify eslint command
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 28, 2021
1 parent 0269025 commit ba1e312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flow/eslint-jsx.js
Expand Up @@ -4,7 +4,7 @@
import type {
JSXAttribute,
JSXOpeningElement,
} from 'ast-types-flow';
} from 'ast-types-flow';

export type ESLintJSXAttribute = {
parent: JSXOpeningElement
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -21,7 +21,7 @@
"create": "node ./scripts/create-rule",
"flow": "if [ ! -e ./.flowconfig ]; then echo \"Could not find .flowconfig\"; else flow; test $? -eq 0 -o $? -eq 2; fi",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint --config .eslintrc src __tests__ __mocks__ scripts",
"lint": "eslint .",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest && npm run build",
"pretest": "npm run lint:fix && npm run flow",
Expand Down

0 comments on commit ba1e312

Please sign in to comment.