npm/lint: run every linter

This commit is contained in:
tharvik 2023-10-11 09:41:30 +02:00
parent cffc51863c
commit 1f6df8375f
No known key found for this signature in database
GPG Key ID: D78C9E1C5909A25B
2 changed files with 3 additions and 8 deletions

View File

@ -47,13 +47,7 @@ $(BUILT_PKG):; $(MAKE) build-dev
format: node_modules/; npm run format
.PHONY: lint
lint: node_modules/
npm run check-formatting
npm run lint
npm run lint-json
npm run lint-markdown
npm run lint-spelling
npm run validate
lint: node_modules/; npm run lint
## roku box

View File

@ -34,7 +34,8 @@
"check-formatting": "npx bsfmt --check",
"docs": "npx rimraf docs/api && jsdoc -c jsdoc.json -d docs/api --readme docs/api-docs-readme.md",
"format": "npx bsfmt --write",
"lint": "bslint",
"lint": "npm run check-formatting && npm run lint-bs && npm run validate && npm run lint-json && npm run lint-markdown && npm run lint-spelling",
"lint-bs": "bslint",
"lint-json": "jshint --extra-ext .json --verbose --exclude node_modules,scripts,docs ./",
"lint-markdown": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"",
"lint-spelling": "spellchecker -d dictionary.txt --files \"**/*.md\" \"**/.*/**/*.md\" \"!node_modules/**/*.md\"",