Skip to content

Commit

Permalink
package.json: stop providing configured extensions
Browse files Browse the repository at this point in the history
In eslintrc.json we already specify the type of files we are interested
in linting and `--ext` takes presence over the configuration file and as
no js or jsx files eslint will report an error.
  • Loading branch information
jelly authored and martinpitt committed Jul 17, 2024
1 parent baef584 commit 66c6f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"scripts": {
"watch": "ESBUILD_WATCH='true' ./build.js",
"build": "./build.js",
"eslint": "eslint --ext .js --ext .jsx src/",
"eslint:fix": "eslint --fix --ext .js --ext .jsx src/",
"eslint": "eslint src/",
"eslint:fix": "eslint --fix src/",
"stylelint": "stylelint src/*{.css,scss}",
"stylelint:fix": "stylelint --fix src/*{.css,scss}"
},
Expand Down

0 comments on commit 66c6f21

Please sign in to comment.