Skip to content

Commit

Permalink
[eslint] clean up config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 11, 2024
1 parent dafa1a7 commit 4352fd6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

11 changes: 11 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
"plugins": [
"flowtype"
],
"ignorePatterns": [
"lib/",
"node_modules/",
"reports/",
"node_modules.nosync/",
"__tests-built__",
"coverage/",
".nyc_output/",
"flow-typed/",
"flow/",
],
"overrides": [
{
"files": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "rimraf lib && babel src --out-dir lib",
"flow": "flow",
"lint": "eslint --config .eslintrc src __tests__ scripts",
"lint": "eslint --ext=js,mjs .",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build",
"pretest": "npm run lint:fix && npm run flow",
Expand Down

0 comments on commit 4352fd6

Please sign in to comment.