npm/lint: run every linter
This commit is contained in:
parent
cffc51863c
commit
1f6df8375f
8
Makefile
8
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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\"",
|
||||
|
|
Loading…
Reference in New Issue
Block a user