Skip to content

Commit

Permalink
[meta] move .eslintignore to ignorePatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Sep 15, 2022
1 parent 6ad2312 commit 65be35b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

5 changes: 5 additions & 0 deletions .eslintrc
@@ -1,8 +1,13 @@
{
"root": true,
"extends": [
"airbnb-base",
"plugin:flowtype/recommended"
],
"ignorePatterns": [
"lib/",
"reports/",
],
"parser": "@babel/eslint-parser",
"plugins": [
"flowtype",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -22,7 +22,7 @@
"create": "node ./scripts/create-rule",
"flow": "flow",
"lint:fix": "npm run lint -- --fix",
"lint": "eslint .",
"lint": "eslint --ext=js,mjs,cjs,ts,tsx .",
"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 65be35b

Please sign in to comment.