use jshint for json linting

This commit is contained in:
Charles Ewert 2023-02-25 18:31:09 -05:00
parent a33ce8bd57
commit 863ccc0725
3 changed files with 339 additions and 1552 deletions

View File

@ -1,5 +0,0 @@
{
"ignore": [
"node_modules/**/*"
]
}

1882
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"@rokucommunity/bslint": "0.8.1",
"brighterscript": "0.61.3",
"ropm": "0.10.11",
"jsonlint-cli": "1.0.1",
"jshint": "^2.13.6",
"markdownlint-cli": "0.33.0",
"markdown-spellcheck": "1.3.1"
},
@ -16,7 +16,7 @@
"validate": "npx bsc --copy-to-staging=false --create-package=false",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "bslint",
"lint-json": "jsonlint-cli **/*.json",
"lint-json": "jshint --extra-ext .json --verbose --exclude node_modules ./",
"lint-markdown": "markdownlint **/*.md --ignore node_modules && mdspell --en-us -r **/*.md !**/node_modules/**/*.md",
"check-formatting": "npx bsfmt --check",
"format": "npx bsfmt --write"