From fee92a4b531c38934ac9549ab40a041f259be1ed Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Sat, 13 Jul 2024 22:44:27 +0700 Subject: [PATCH 1/2] Remove JSON test from static analysis --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b1a488b1b7..6e85175e82 100644 --- a/package.json +++ b/package.json @@ -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", From 83dc4bf26ea7fd9a9c00aedd8a342f611b029972 Mon Sep 17 00:00:00 2001 From: Khai Truong Date: Sat, 13 Jul 2024 23:31:15 +0700 Subject: [PATCH 2/2] update docs --- docs/development/npm-scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/npm-scripts.md b/docs/development/npm-scripts.md index 522be174e9..802e9f5d1a 100644 --- a/docs/development/npm-scripts.md +++ b/docs/development/npm-scripts.md @@ -19,7 +19,7 @@ Scripts can be executed by running `npm run `. 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.