chore: update lint config

This commit is contained in:
AJ ONeal
2023-10-12 00:08:27 +00:00
parent e276bb32a5
commit 7d49bf1981
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
DELETEMEnode_modules/**/*
+6 -3
View File
@@ -6,10 +6,13 @@
"main": "_webi/",
"scripts": {
"fmt": "npm run prettier && npm run shfmt",
"lint": "npx jshint@2.x -c ./.jshintrc */*.js",
"lint": "npm run shellcheck && npm run jshint",
"test": "node _webi/test.js ./node/",
"----": "------------------------------------",
"jshint": "npx -p jshint@2.x -- jshint -c ./.jshintrc --exclude 'node_modules/**/*' */*.js */*/*.js",
"prettier": "npx -p prettier@3.x -- prettier -w '**/*.{js,md,html}'",
"shfmt": "shfmt -w -i 4 -sr -ci -s ./",
"test": "node _webi/test.js ./node/"
"shellcheck": "shellcheck -s sh -S style --exclude=SC2154,SC2034 */*.sh",
"shfmt": "shfmt -w -i 4 -sr -ci -s ./"
},
"repository": {
"type": "git",