Skip to content

Commit

Permalink
Remove JSON test from static analysis (#1216)
Browse files Browse the repository at this point in the history
* Remove JSON test from static analysis

* update docs
  • Loading branch information
khaitruong922 authored Jul 13, 2024
1 parent 165ed8d commit 9928b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/development/npm-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Scripts can be executed by running `npm run <name>`.
Runs most of the tests that are used more frequently in the typical development process.

- `test:static-analysis`
Runs all of the static analysis tests.
Runs all of the static analysis tests (excluding JSON).

- `test:js`
Runs [eslint](https://eslint.org/) on all of the JavaScript and TypeScript files in the project.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build:libs": "node ./dev/bin/build-libs.js",
"test": "npm run test:js && npm run test:ts && npm run test:css && npm run test:html && npm run test:unit && npm run test:unit:options && npm run test:json && npm run test:md && npm run test:build",
"test:fast": "npm run test:js && npm run test:ts && npm run test:unit && npm run test:json:format",
"test:static-analysis": "npm run test:js && npm run test:ts && npm run test:css && npm run test:html && npm run test:json && npm run test:md",
"test:static-analysis": "npm run test:js && npm run test:ts && npm run test:css && npm run test:html && npm run test:md",
"test:js": "npx eslint . --ignore-pattern **/*.json",
"test:json": "npm run test:json:format && npm run test:json:types",
"test:json:format": "npx eslint **/*.json",
Expand Down

0 comments on commit 9928b7a

Please sign in to comment.