use jshint for json linting
This commit is contained in:
parent
a33ce8bd57
commit
863ccc0725
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"ignore": [
|
||||
"node_modules/**/*"
|
||||
]
|
||||
}
|
1882
package-lock.json
generated
1882
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user