mirror of
https://github.com/psychopy/psychojs.git
synced 2025-05-10 10:40:54 +00:00
package: bring in eslint to replace jshint
This commit is contained in:
parent
5f4496ebdf
commit
dd0d63663f
@ -16,7 +16,7 @@
|
||||
"build:js": "rollup -c",
|
||||
"lint": "npm run lint:js && npm run lint:css",
|
||||
"lint:css": "stylelint src/**/*.css",
|
||||
"lint:js": "jshint rollup.config.js src/**/*.js",
|
||||
"lint:js": "eslint rollup.config.js src/**/*.js",
|
||||
"start": "npm run build"
|
||||
},
|
||||
"babel": {
|
||||
@ -55,8 +55,8 @@
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@rollup/plugin-babel": "^5.2.1",
|
||||
"cssnano": "^4.1.10",
|
||||
"eslint": "^7.24.0",
|
||||
"jsdoc": "^3.6.6",
|
||||
"jshint": "^2.12.0",
|
||||
"postcss": "^8.1.3",
|
||||
"postcss-cli": "^8.1.0",
|
||||
"postcss-preset-env": "^6.7.0",
|
||||
@ -65,9 +65,6 @@
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
"terser": "^5.3.8"
|
||||
},
|
||||
"jshintConfig": {
|
||||
"esversion": 8
|
||||
},
|
||||
"postcss": {
|
||||
"plugins": {
|
||||
"postcss-preset-env": {},
|
||||
|
Loading…
Reference in New Issue
Block a user