added lintHTML command

This commit is contained in:
Graydogminer 2022-11-10 14:16:42 -08:00 committed by GitHub
parent 135a19e154
commit d6929af27e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,9 @@
"test": "mocha --recursive './{,!(node_modules)/**}/*.test.js'", "test": "mocha --recursive './{,!(node_modules)/**}/*.test.js'",
"lint": "eslint '**/*.js'", "lint": "eslint '**/*.js'",
"fix-style": "eslint --fix **/*.js" "fix-style": "eslint --fix **/*.js"
},
"html": {
"lintHTML": "npx htmlhint '**/*.html'",
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.27.0", "eslint": "^8.27.0",