package.json: stop providing configured extensions
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.
This commit is contained in:
parent
baef584882
commit
66c6f21636
1 changed files with 2 additions and 2 deletions
|
|
@ -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}"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue