From 1bac22c806d58b53ef506a0f76bb6031a1f5cf4f Mon Sep 17 00:00:00 2001 From: platex-rehor-bot Date: Thu, 21 May 2026 12:00:20 +0000 Subject: [PATCH] chore: remove trailing commas from JSON and add linter rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RHCLOUD-47771 Add eslint-plugin-jsonc with jsonc/comma-dangle rule set to "error" to prevent trailing commas in JSON files. Remove existing trailing commas from tsconfig and project.json files across all packages. Expand lint file patterns to cover all JSON files (*.json). This prevents future Nx upgrade blockers — Nx 22.7.1 has stricter JSON parsing that fails on trailing commas. Co-Authored-By: Claude Opus 4.6 --- .eslintrc.json | 6 +- package-lock.json | 553 +++++++++++-------- package.json | 1 + packages/build-utils/project.json | 3 +- packages/compliance/project.json | 2 +- packages/compliance/tsconfig.json | 2 +- packages/config-manager/project.json | 2 +- packages/config-manager/tsconfig.json | 2 +- packages/entitlements/project.json | 2 +- packages/entitlements/tsconfig.json | 2 +- packages/host-inventory/project.json | 2 +- packages/host-inventory/tsconfig.json | 2 +- packages/insights/project.json | 2 +- packages/insights/tsconfig.json | 2 +- packages/integrations/project.json | 2 +- packages/notifications/project.json | 2 +- packages/notifications/tsconfig.json | 2 +- packages/patch/project.json | 2 +- packages/patch/tsconfig.json | 2 +- packages/quickstarts/project.json | 2 +- packages/quickstarts/tsconfig.json | 2 +- packages/rbac/project.json | 2 +- packages/rbac/tsconfig.spec.json | 2 +- packages/remediations/project.json | 2 +- packages/shared/project.json | 2 +- packages/shared/tsconfig.cjs.json | 4 +- packages/shared/tsconfig.esm.json | 2 +- packages/shared/tsconfig.json | 2 +- packages/sources/project.json | 2 +- packages/sources/tsconfig.json | 2 +- packages/topological-inventory/project.json | 2 +- packages/topological-inventory/tsconfig.json | 2 +- packages/vulnerabilities/project.json | 2 +- packages/vulnerabilities/tsconfig.cjs.json | 4 +- packages/vulnerabilities/tsconfig.esm.json | 2 +- packages/vulnerabilities/tsconfig.json | 2 +- utils/nx-base/project.json | 2 +- utils/nx-base/tsconfig.cjs.json | 4 +- utils/nx-base/tsconfig.esm.json | 2 +- utils/nx-base/tsconfig.json | 2 +- 40 files changed, 361 insertions(+), 280 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 171df7186..137f8bc48 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -9,7 +9,11 @@ { "files": "*.json", "parser": "jsonc-eslint-parser", - "rules": {} + "plugins": ["jsonc"], + "rules": { + "jsonc/comma-dangle": ["error", "never"], + "prettier/prettier": "off" + } }, { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], diff --git a/package-lock.json b/package-lock.json index 93f6293fd..59ca39eaa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,6 +61,7 @@ "eslint-config-prettier": "10.1.8", "eslint-plugin-cypress": "^3.5.0", "eslint-plugin-import": "2.31.0", + "eslint-plugin-jsonc": "^3.1.2", "eslint-plugin-jsx-a11y": "6.10.1", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "5.0.0", @@ -2471,6 +2472,34 @@ "node": ">=v18" } }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@csstools/color-helpers": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.1.0.tgz", @@ -5946,9 +5975,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -5966,9 +5992,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -5986,9 +6009,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6006,9 +6026,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6026,9 +6043,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6046,9 +6060,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6066,9 +6077,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6386,9 +6394,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6406,9 +6411,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6426,9 +6428,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6446,9 +6445,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6899,9 +6895,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6919,9 +6912,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -6939,9 +6929,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -6959,9 +6946,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7547,9 +7531,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7563,9 +7544,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7579,9 +7557,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -7595,9 +7570,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -7917,6 +7889,19 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@ota-meshi/ast-token-store": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@ota-meshi/ast-token-store/-/ast-token-store-0.3.0.tgz", + "integrity": "sha512-XRO0zi2NIUKq2lUk3T1ecFSld1fMWRKE6naRFGkgkdeosx7IslyUKNv5Dcb5PJTja9tHJoFu0v/7yEpAkrkrTg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://github.com/sponsors/ota-meshi" + } + }, "node_modules/@oxc-project/types": { "version": "0.127.0", "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz", @@ -8027,9 +8012,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8043,9 +8025,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8059,9 +8038,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8075,9 +8051,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8091,9 +8064,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8107,9 +8077,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8123,9 +8090,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8139,9 +8103,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8363,9 +8324,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8387,9 +8345,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8411,9 +8366,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8435,9 +8387,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8459,9 +8408,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -8483,9 +8429,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -8979,9 +8922,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9000,9 +8940,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9021,9 +8958,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9042,9 +8976,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9063,9 +8994,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9084,9 +9012,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9514,9 +9439,6 @@ "arm" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9531,9 +9453,6 @@ "arm" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9548,9 +9467,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9565,9 +9481,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9582,9 +9495,6 @@ "loong64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9599,9 +9509,6 @@ "loong64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9616,9 +9523,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9633,9 +9537,6 @@ "ppc64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9650,9 +9551,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9667,9 +9565,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9684,9 +9579,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9701,9 +9593,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9718,9 +9607,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9866,9 +9752,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9883,9 +9766,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -9900,9 +9780,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -9917,9 +9794,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -11100,6 +10974,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11116,6 +10991,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11132,6 +11008,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -11148,9 +11025,7 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11167,9 +11042,7 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11186,9 +11059,7 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11205,9 +11076,7 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11224,6 +11093,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11240,6 +11110,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11256,6 +11127,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0 AND MIT", "optional": true, "os": [ @@ -11276,7 +11148,7 @@ "version": "0.5.21", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.21.tgz", "integrity": "sha512-jI/VAmtdjB/RnI8GTnokyX7Ug8c+g+ffD6QRLa6XQewtnGyukKkKSk3wLTM3b5cjt1jNh9x0jfVlagdN2gDKQg==", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "dependencies": { "tslib": "^2.8.0" @@ -11395,6 +11267,42 @@ "dev": true, "license": "MIT" }, + "node_modules/@tsconfig/node10": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.12.tgz", + "integrity": "sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/@tybys/wasm-util": { "version": "0.10.1", "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", @@ -12359,9 +12267,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -12376,9 +12281,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -12393,9 +12295,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -12410,9 +12309,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -12427,9 +12323,6 @@ "riscv64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -12444,9 +12337,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -12461,9 +12351,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -12478,9 +12365,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -13391,6 +13275,21 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/acorn-walk": { + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.5.tgz", + "integrity": "sha512-HEHNfbars9v4pgpW6SO1KSPkfoS0xVOM/9UzkJltjlsHZmJasxg8aXkuZa7SMf8vKGIBhpUsPluQSqhJFCqebw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/address": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/address/-/address-1.2.2.tgz", @@ -15803,6 +15702,15 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/cron-parser": { "version": "4.9.0", "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-4.9.0.tgz", @@ -16767,12 +16675,23 @@ "node": ">= 4.0.0" } }, + "node_modules/diff": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz", + "integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "peer": true, + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/diff-sequences": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", "license": "MIT", - "peer": true, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } @@ -17524,6 +17443,28 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/eslint-json-compat-utils": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/eslint-json-compat-utils/-/eslint-json-compat-utils-0.2.3.tgz", + "integrity": "sha512-RbBmDFyu7FqnjE8F0ZxPNzx5UaptdeS9Uu50r7A+D7s/+FCX+ybiyViYEgFUaFIFqSWJgZRTpL5d8Kanxxl2lQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esquery": "^1.6.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "eslint": "*", + "jsonc-eslint-parser": "^2.4.0 || ^3.0.0" + }, + "peerDependenciesMeta": { + "@eslint/json": { + "optional": true + } + } + }, "node_modules/eslint-module-utils": { "version": "2.12.1", "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.1.tgz", @@ -17715,6 +17656,98 @@ "strip-bom": "^3.0.0" } }, + "node_modules/eslint-plugin-jsonc": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsonc/-/eslint-plugin-jsonc-3.1.2.tgz", + "integrity": "sha512-dopTxdB22iuOkgKyJCupEC5IYBItUT4J/teq1H5ddUObcaYhOURxtJElZczdcYnnKCghNU/vccuyPkliy2Wxsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.5.1", + "@eslint/core": "^1.0.1", + "@eslint/plugin-kit": "^0.6.0", + "@ota-meshi/ast-token-store": "^0.3.0", + "diff-sequences": "^29.6.3", + "eslint-json-compat-utils": "^0.2.3", + "jsonc-eslint-parser": "^3.1.0", + "natural-compare": "^1.4.0", + "synckit": "^0.11.12" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://github.com/sponsors/ota-meshi" + }, + "peerDependencies": { + "eslint": ">=9.38.0" + } + }, + "node_modules/eslint-plugin-jsonc/node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/eslint-plugin-jsonc/node_modules/@eslint/plugin-kit": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.6.1.tgz", + "integrity": "sha512-iH1B076HoAshH1mLpHMgwdGeTs0CYwL0SPMkGuSebZrwBp16v415e9NZXg2jtrqPVQjf6IANe2Vtlr5KswtcZQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.1.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/eslint-plugin-jsonc/node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/eslint-plugin-jsonc/node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-jsonc/node_modules/jsonc-eslint-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsonc-eslint-parser/-/jsonc-eslint-parser-3.1.0.tgz", + "integrity": "sha512-75EA7EWZExL/j+MDKQrRbdzcRI2HOkRlmUw8fZJc1ioqFEOvBsq7Rt+A6yCxOt9w/TYNpkt52gC6nm/g5tFIng==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.5.0", + "eslint-visitor-keys": "^5.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://github.com/sponsors/ota-meshi" + } + }, "node_modules/eslint-plugin-jsx-a11y": { "version": "6.10.1", "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.1.tgz", @@ -25519,9 +25552,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -25544,9 +25574,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -25569,9 +25596,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -25594,9 +25618,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -30525,7 +30546,6 @@ "arm" ], "dev": true, - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -30543,7 +30563,6 @@ "arm64" ], "dev": true, - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -30561,7 +30580,6 @@ "arm" ], "dev": true, - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -30579,7 +30597,6 @@ "arm64" ], "dev": true, - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -30597,7 +30614,6 @@ "riscv64" ], "dev": true, - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -30615,7 +30631,6 @@ "x64" ], "dev": true, - "libc": "musl", "license": "MIT", "optional": true, "os": [ @@ -30633,7 +30648,6 @@ "riscv64" ], "dev": true, - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -30651,7 +30665,6 @@ "x64" ], "dev": true, - "libc": "glibc", "license": "MIT", "optional": true, "os": [ @@ -32976,6 +32989,61 @@ "node": ">= 12" } }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/tsconfig-paths": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", @@ -33606,6 +33674,15 @@ "uuid": "dist/bin/uuid" } }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true + }, "node_modules/v8-to-istanbul": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", @@ -34869,6 +34946,18 @@ "node": ">=12" } }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -35022,9 +35111,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -35042,9 +35128,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -35062,9 +35145,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -35082,9 +35162,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ diff --git a/package.json b/package.json index a8a20694e..0b8ff3530 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,7 @@ "eslint-config-prettier": "10.1.8", "eslint-plugin-cypress": "^3.5.0", "eslint-plugin-import": "2.31.0", + "eslint-plugin-jsonc": "^3.1.2", "eslint-plugin-jsx-a11y": "6.10.1", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "5.0.0", diff --git a/packages/build-utils/project.json b/packages/build-utils/project.json index 59d767985..f23493e9e 100644 --- a/packages/build-utils/project.json +++ b/packages/build-utils/project.json @@ -42,8 +42,7 @@ "options": { "lintFilePatterns": [ "packages/build-utils/**/*.ts", - "packages/build-utils/package.json", - "packages/build-utils/executors.json" + "packages/build-utils/*.json" ] } }, diff --git a/packages/compliance/project.json b/packages/compliance/project.json index 688d52b3c..024b9d25b 100644 --- a/packages/compliance/project.json +++ b/packages/compliance/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/compliance/**/*.ts", "packages/compliance/package.json"] + "lintFilePatterns": ["packages/compliance/**/*.ts", "packages/compliance/*.json"] } }, "test": { diff --git a/packages/compliance/tsconfig.json b/packages/compliance/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/compliance/tsconfig.json +++ b/packages/compliance/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/config-manager/project.json b/packages/config-manager/project.json index 99523ba50..82724872c 100644 --- a/packages/config-manager/project.json +++ b/packages/config-manager/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/config-manager/**/*.ts", "packages/config-manager/package.json"] + "lintFilePatterns": ["packages/config-manager/**/*.ts", "packages/config-manager/*.json"] } }, "test": { diff --git a/packages/config-manager/tsconfig.json b/packages/config-manager/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/config-manager/tsconfig.json +++ b/packages/config-manager/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/entitlements/project.json b/packages/entitlements/project.json index 2bb23c4f0..50232e0f8 100644 --- a/packages/entitlements/project.json +++ b/packages/entitlements/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/entitlements/**/*.ts", "packages/entitlements/package.json"] + "lintFilePatterns": ["packages/entitlements/**/*.ts", "packages/entitlements/*.json"] } }, "test": { diff --git a/packages/entitlements/tsconfig.json b/packages/entitlements/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/entitlements/tsconfig.json +++ b/packages/entitlements/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/host-inventory/project.json b/packages/host-inventory/project.json index a968e0835..cb2517d78 100644 --- a/packages/host-inventory/project.json +++ b/packages/host-inventory/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/host-inventory/**/*.ts", "packages/host-inventory/package.json"] + "lintFilePatterns": ["packages/host-inventory/**/*.ts", "packages/host-inventory/*.json"] } }, "test": { diff --git a/packages/host-inventory/tsconfig.json b/packages/host-inventory/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/host-inventory/tsconfig.json +++ b/packages/host-inventory/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/insights/project.json b/packages/insights/project.json index 0789ed3ac..f0c7abe00 100644 --- a/packages/insights/project.json +++ b/packages/insights/project.json @@ -41,7 +41,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/insights/**/*.ts", "packages/insights/package.json"] + "lintFilePatterns": ["packages/insights/**/*.ts", "packages/insights/*.json"] } }, "test": { diff --git a/packages/insights/tsconfig.json b/packages/insights/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/insights/tsconfig.json +++ b/packages/insights/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/integrations/project.json b/packages/integrations/project.json index 29a1630db..9af2d38d9 100644 --- a/packages/integrations/project.json +++ b/packages/integrations/project.json @@ -41,7 +41,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/integrations/**/*.ts", "packages/integrations/package.json"] + "lintFilePatterns": ["packages/integrations/**/*.ts", "packages/integrations/*.json"] } }, "test": { diff --git a/packages/notifications/project.json b/packages/notifications/project.json index d55f94dd1..f4e3767d9 100644 --- a/packages/notifications/project.json +++ b/packages/notifications/project.json @@ -41,7 +41,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/notifications/**/*.ts", "packages/notifications/package.json"] + "lintFilePatterns": ["packages/notifications/**/*.ts", "packages/notifications/*.json"] } }, "test": { diff --git a/packages/notifications/tsconfig.json b/packages/notifications/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/notifications/tsconfig.json +++ b/packages/notifications/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/patch/project.json b/packages/patch/project.json index 090ff63be..3928679c8 100644 --- a/packages/patch/project.json +++ b/packages/patch/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/patch/**/*.ts", "packages/patch/package.json"] + "lintFilePatterns": ["packages/patch/**/*.ts", "packages/patch/*.json"] } }, "test": { diff --git a/packages/patch/tsconfig.json b/packages/patch/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/patch/tsconfig.json +++ b/packages/patch/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/quickstarts/project.json b/packages/quickstarts/project.json index 32a53e8d2..3ab229cfd 100644 --- a/packages/quickstarts/project.json +++ b/packages/quickstarts/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/quickstarts/**/*.ts", "packages/quickstarts/package.json"] + "lintFilePatterns": ["packages/quickstarts/**/*.ts", "packages/quickstarts/*.json"] } }, "test": { diff --git a/packages/quickstarts/tsconfig.json b/packages/quickstarts/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/quickstarts/tsconfig.json +++ b/packages/quickstarts/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/rbac/project.json b/packages/rbac/project.json index 1f6d0aa76..4c4f05716 100644 --- a/packages/rbac/project.json +++ b/packages/rbac/project.json @@ -41,7 +41,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/rbac/**/*.ts", "packages/rbac/package.json"] + "lintFilePatterns": ["packages/rbac/**/*.ts", "packages/rbac/*.json"] } }, "test": { diff --git a/packages/rbac/tsconfig.spec.json b/packages/rbac/tsconfig.spec.json index a1a0cab9b..9b2a121d1 100644 --- a/packages/rbac/tsconfig.spec.json +++ b/packages/rbac/tsconfig.spec.json @@ -9,6 +9,6 @@ "jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", - "src/**/*.d.ts", + "src/**/*.d.ts" ] } diff --git a/packages/remediations/project.json b/packages/remediations/project.json index ca3b3e6cb..f2ccbc24b 100644 --- a/packages/remediations/project.json +++ b/packages/remediations/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/remediations/**/*.ts", "packages/remediations/package.json"] + "lintFilePatterns": ["packages/remediations/**/*.ts", "packages/remediations/*.json"] } }, "test": { diff --git a/packages/shared/project.json b/packages/shared/project.json index c2278d1cd..6b381c0ca 100644 --- a/packages/shared/project.json +++ b/packages/shared/project.json @@ -21,7 +21,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/shared/**/*.ts", "packages/shared/package.json"] + "lintFilePatterns": ["packages/shared/**/*.ts", "packages/shared/*.json"] } }, "test": { diff --git a/packages/shared/tsconfig.cjs.json b/packages/shared/tsconfig.cjs.json index d29a1ef4a..487a477fe 100644 --- a/packages/shared/tsconfig.cjs.json +++ b/packages/shared/tsconfig.cjs.json @@ -1,6 +1,6 @@ { "extends": "./tsconfig.esm.json", "compilerOptions": { - "module": "CommonJS", - }, + "module": "CommonJS" + } } diff --git a/packages/shared/tsconfig.esm.json b/packages/shared/tsconfig.esm.json index 37a46ec92..d000be191 100644 --- a/packages/shared/tsconfig.esm.json +++ b/packages/shared/tsconfig.esm.json @@ -6,7 +6,7 @@ "types": ["node"], "module": "ES2015", "target": "ES5", - "rootDir": "./", + "rootDir": "./" }, "include": ["*.ts"], "exclude": ["jest.config.ts"] diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/shared/tsconfig.json +++ b/packages/shared/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/sources/project.json b/packages/sources/project.json index 3226a1c46..43dfb8bdb 100644 --- a/packages/sources/project.json +++ b/packages/sources/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/sources/**/*.ts", "packages/sources/package.json"] + "lintFilePatterns": ["packages/sources/**/*.ts", "packages/sources/*.json"] } }, "test": { diff --git a/packages/sources/tsconfig.json b/packages/sources/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/sources/tsconfig.json +++ b/packages/sources/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/topological-inventory/project.json b/packages/topological-inventory/project.json index 6c69deec5..476e3755d 100644 --- a/packages/topological-inventory/project.json +++ b/packages/topological-inventory/project.json @@ -40,7 +40,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/topological-inventory/**/*.ts", "packages/topological-inventory/package.json"] + "lintFilePatterns": ["packages/topological-inventory/**/*.ts", "packages/topological-inventory/*.json"] } }, "test": { diff --git a/packages/topological-inventory/tsconfig.json b/packages/topological-inventory/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/topological-inventory/tsconfig.json +++ b/packages/topological-inventory/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/packages/vulnerabilities/project.json b/packages/vulnerabilities/project.json index 7aa64a8ed..f1596653d 100644 --- a/packages/vulnerabilities/project.json +++ b/packages/vulnerabilities/project.json @@ -38,7 +38,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/vulnerabilities/**/*.ts", "packages/vulnerabilities/package.json"] + "lintFilePatterns": ["packages/vulnerabilities/**/*.ts", "packages/vulnerabilities/*.json"] } }, "test": { diff --git a/packages/vulnerabilities/tsconfig.cjs.json b/packages/vulnerabilities/tsconfig.cjs.json index d29a1ef4a..487a477fe 100644 --- a/packages/vulnerabilities/tsconfig.cjs.json +++ b/packages/vulnerabilities/tsconfig.cjs.json @@ -1,6 +1,6 @@ { "extends": "./tsconfig.esm.json", "compilerOptions": { - "module": "CommonJS", - }, + "module": "CommonJS" + } } diff --git a/packages/vulnerabilities/tsconfig.esm.json b/packages/vulnerabilities/tsconfig.esm.json index 28ffe1d28..eae7ee4de 100644 --- a/packages/vulnerabilities/tsconfig.esm.json +++ b/packages/vulnerabilities/tsconfig.esm.json @@ -6,7 +6,7 @@ "types": ["node"], "module": "ES2015", "target": "ES5", - "rootDir": "./", + "rootDir": "./" }, "include": ["*.ts", "**/*.ts"], "exclude": ["jest.config.ts", "dist"] diff --git a/packages/vulnerabilities/tsconfig.json b/packages/vulnerabilities/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/packages/vulnerabilities/tsconfig.json +++ b/packages/vulnerabilities/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [ diff --git a/utils/nx-base/project.json b/utils/nx-base/project.json index 02a247d59..ec263cac0 100644 --- a/utils/nx-base/project.json +++ b/utils/nx-base/project.json @@ -30,7 +30,7 @@ "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"], "options": { - "lintFilePatterns": ["packages/CLIENTNAME/**/*.ts", "packages/CLIENTNAME/package.json"] + "lintFilePatterns": ["packages/CLIENTNAME/**/*.ts", "packages/CLIENTNAME/*.json"] } }, "test": { diff --git a/utils/nx-base/tsconfig.cjs.json b/utils/nx-base/tsconfig.cjs.json index d29a1ef4a..487a477fe 100644 --- a/utils/nx-base/tsconfig.cjs.json +++ b/utils/nx-base/tsconfig.cjs.json @@ -1,6 +1,6 @@ { "extends": "./tsconfig.esm.json", "compilerOptions": { - "module": "CommonJS", - }, + "module": "CommonJS" + } } diff --git a/utils/nx-base/tsconfig.esm.json b/utils/nx-base/tsconfig.esm.json index 28ffe1d28..eae7ee4de 100644 --- a/utils/nx-base/tsconfig.esm.json +++ b/utils/nx-base/tsconfig.esm.json @@ -6,7 +6,7 @@ "types": ["node"], "module": "ES2015", "target": "ES5", - "rootDir": "./", + "rootDir": "./" }, "include": ["*.ts", "**/*.ts"], "exclude": ["jest.config.ts", "dist"] diff --git a/utils/nx-base/tsconfig.json b/utils/nx-base/tsconfig.json index 57cb4c053..de0a8fe35 100644 --- a/utils/nx-base/tsconfig.json +++ b/utils/nx-base/tsconfig.json @@ -7,7 +7,7 @@ "noImplicitOverride": false, "noPropertyAccessFromIndexSignature": false, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, + "noFallthroughCasesInSwitch": true }, "files": [], "references": [