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:
Jelle van der Waa 2024-07-17 13:45:17 +02:00
parent 84d8dc7e8e
commit 7856c3a318

View file

@ -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}"
},