fix npm lint script

This commit is contained in:
Matt Walsh 2023-04-22 21:23:31 -05:00
parent 58a337efbf
commit 04ed3e0a52
2 changed files with 621 additions and 7832 deletions

8443
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,8 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build:css": "sass ./server/styles/scss/style.scss ./server/styles/compiled.css", "build:css": "sass ./server/styles/scss/style.scss ./server/styles/compiled.css",
"lint": "eslint ./server/scripts/**", "lint": "eslint ./server/scripts/**/*.mjs",
"lint:fix": "eslint --fix ./server/scripts/**" "lint:fix": "eslint --fix ./server/scripts/**/*.mjs"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -25,8 +25,8 @@
"eslint": "^8.21.0", "eslint": "^8.21.0",
"eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.26.0",
"eslint-plugin-sonarjs": "^0.17.0", "eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-unicorn": "^45.0.2", "eslint-plugin-unicorn": "^46.0.0",
"express": "^4.17.1", "express": "^4.17.1",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
@ -46,4 +46,4 @@
"terser-webpack-plugin": "^5.3.6", "terser-webpack-plugin": "^5.3.6",
"webpack-stream": "^7.0.0" "webpack-stream": "^7.0.0"
} }
} }