0.0.4
- corvée: met à jour les dépendances - corvée: utilise treefmt pour le formatage - corvée: nettoie les règles
This commit is contained in:
parent
0968f683df
commit
32ed83d772
8 changed files with 222 additions and 115 deletions
|
|
@ -4,9 +4,9 @@
|
||||||
"initialization_options": {
|
"initialization_options": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"configPath": "cfg/oxlint.config.ts",
|
"configPath": "cfg/oxlint.config.ts",
|
||||||
"run": "onType",
|
|
||||||
"disableNestedConfig": false,
|
"disableNestedConfig": false,
|
||||||
"fixKind": "safe_fix",
|
"fixKind": "safe_fix",
|
||||||
|
"run": "onType",
|
||||||
"unusedDisableDirectives": "deny"
|
"unusedDisableDirectives": "deny"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
82
bun.lock
82
bun.lock
|
|
@ -5,7 +5,6 @@
|
||||||
"": {
|
"": {
|
||||||
"name": "@gcch/configuration-oxlint",
|
"name": "@gcch/configuration-oxlint",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint-plugin-astro": "^1.6.0",
|
|
||||||
"eslint-plugin-functional": "^9.0.4",
|
"eslint-plugin-functional": "^9.0.4",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"eslint-plugin-perfectionist": "^5.8.0",
|
"eslint-plugin-perfectionist": "^5.8.0",
|
||||||
|
|
@ -17,16 +16,19 @@
|
||||||
"@arethetypeswrong/core": "^0.18.2",
|
"@arethetypeswrong/core": "^0.18.2",
|
||||||
"@gcch/configuration-eslint": "git+https://git.gcch.fr/gcch/configuration-eslint#c0620280e6",
|
"@gcch/configuration-eslint": "git+https://git.gcch.fr/gcch/configuration-eslint#c0620280e6",
|
||||||
"@gcch/configuration-prettier": "git+https://git.gcch.fr/gcch/configuration-prettier#91d4573bff",
|
"@gcch/configuration-prettier": "git+https://git.gcch.fr/gcch/configuration-prettier#91d4573bff",
|
||||||
"@types/bun": "^1.3.11",
|
"@types/bun": "^1.3.12",
|
||||||
"@types/node": "^25.5.2",
|
"@types/node": "^25.6.0",
|
||||||
"knip": "^6.3.0",
|
"knip": "^6.4.0",
|
||||||
"prettier": "^3.8.1",
|
"prettier": "^3.8.2",
|
||||||
"publint": "^0.3.18",
|
"publint": "^0.3.18",
|
||||||
"tsdown": "^0.21.7",
|
"tsdown": "^0.21.7",
|
||||||
"typescript": "^6.0.2",
|
"typescript": "^6.0.2",
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"optionalDependencies": {
|
||||||
"eslint-plugin-astro": "^1.6.0",
|
"eslint-plugin-astro": "^1.6.0",
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"eslint-plugin-astro": "^1.7.0",
|
||||||
"eslint-plugin-functional": "^9.0.4",
|
"eslint-plugin-functional": "^9.0.4",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"eslint-plugin-perfectionist": "^5.8.0",
|
"eslint-plugin-perfectionist": "^5.8.0",
|
||||||
|
|
@ -72,17 +74,17 @@
|
||||||
|
|
||||||
"@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.2", "", {}, "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew=="],
|
"@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.2", "", {}, "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew=="],
|
||||||
|
|
||||||
"@eslint/config-array": ["@eslint/config-array@0.23.4", "", { "dependencies": { "@eslint/object-schema": "^3.0.4", "debug": "^4.3.1", "minimatch": "^10.2.4" } }, "sha512-lf19F24LSMfF8weXvW5QEtnLqW70u7kgit5e9PSx0MsHAFclGd1T9ynvWEMDT1w5J4Qt54tomGeAhdoAku1Xow=="],
|
"@eslint/config-array": ["@eslint/config-array@0.23.5", "", { "dependencies": { "@eslint/object-schema": "^3.0.5", "debug": "^4.3.1", "minimatch": "^10.2.4" } }, "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA=="],
|
||||||
|
|
||||||
"@eslint/config-helpers": ["@eslint/config-helpers@0.5.4", "", { "dependencies": { "@eslint/core": "^1.2.0" } }, "sha512-jJhqiY3wPMlWWO3370M86CPJ7pt8GmEwSLglMfQhjXal07RCvhmU0as4IuUEW5SJeunfItiEetHmSxCCe9lDBg=="],
|
"@eslint/config-helpers": ["@eslint/config-helpers@0.5.5", "", { "dependencies": { "@eslint/core": "^1.2.1" } }, "sha512-eIJYKTCECbP/nsKaaruF6LW967mtbQbsw4JTtSVkUQc9MneSkbrgPJAbKl9nWr0ZeowV8BfsarBmPpBzGelA2w=="],
|
||||||
|
|
||||||
"@eslint/core": ["@eslint/core@1.2.0", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-8FTGbNzTvmSlc4cZBaShkC6YvFMG0riksYWRFKXztqVdXaQbcZLXlFbSpC05s70sGEsXAw0qwhx69JiW7hQS7A=="],
|
"@eslint/core": ["@eslint/core@1.2.1", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ=="],
|
||||||
|
|
||||||
"@eslint/js": ["@eslint/js@10.0.1", "", { "peerDependencies": { "eslint": "^10.0.0" }, "optionalPeers": ["eslint"] }, "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA=="],
|
"@eslint/js": ["@eslint/js@10.0.1", "", { "peerDependencies": { "eslint": "^10.0.0" }, "optionalPeers": ["eslint"] }, "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA=="],
|
||||||
|
|
||||||
"@eslint/object-schema": ["@eslint/object-schema@3.0.4", "", {}, "sha512-55lO/7+Yp0ISKRP0PsPtNTeNGapXaO085aELZmWCVc5SH3jfrqpuU6YgOdIxMS99ZHkQN1cXKE+cdIqwww9ptw=="],
|
"@eslint/object-schema": ["@eslint/object-schema@3.0.5", "", {}, "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw=="],
|
||||||
|
|
||||||
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.7.0", "", { "dependencies": { "@eslint/core": "^1.2.0", "levn": "^0.4.1" } }, "sha512-ejvBr8MQCbVsWNZnCwDXjUKq40MDmHalq7cJ6e9s/qzTUFIIo/afzt1Vui9T97FM/V/pN4YsFVoed5NIa96RDg=="],
|
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.7.1", "", { "dependencies": { "@eslint/core": "^1.2.1", "levn": "^0.4.1" } }, "sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ=="],
|
||||||
|
|
||||||
"@gcch/configuration-eslint": ["@gcch/configuration-eslint@git+https://git.gcch.fr/gcch/configuration-eslint#c0620280e62a390efea7a350f3eb6a9fd3ba1d4e", { "dependencies": { "@eslint/js": "^10.0.1", "astro-eslint-parser": "^1.4.0", "eslint": "^10.1.0", "eslint-plugin-functional": "^9.0.4", "eslint-plugin-jsdoc": "^62.8.1", "eslint-plugin-perfectionist": "^5.7.0", "eslint-plugin-sonarjs": "^4.0.2", "eslint-plugin-unicorn": "^64.0.0", "globals": "^17.4.0", "typescript-eslint": "^8.57.2" }, "optionalDependencies": { "eslint-plugin-astro": "^1.6.0", "eslint-plugin-jsx-a11y": "^6.10.2" }, "peerDependencies": { "eslint": "^10.1.0", "typescript": "^6.0.2" } }, "c0620280e62a390efea7a350f3eb6a9fd3ba1d4e"],
|
"@gcch/configuration-eslint": ["@gcch/configuration-eslint@git+https://git.gcch.fr/gcch/configuration-eslint#c0620280e62a390efea7a350f3eb6a9fd3ba1d4e", { "dependencies": { "@eslint/js": "^10.0.1", "astro-eslint-parser": "^1.4.0", "eslint": "^10.1.0", "eslint-plugin-functional": "^9.0.4", "eslint-plugin-jsdoc": "^62.8.1", "eslint-plugin-perfectionist": "^5.7.0", "eslint-plugin-sonarjs": "^4.0.2", "eslint-plugin-unicorn": "^64.0.0", "globals": "^17.4.0", "typescript-eslint": "^8.57.2" }, "optionalDependencies": { "eslint-plugin-astro": "^1.6.0", "eslint-plugin-jsx-a11y": "^6.10.2" }, "peerDependencies": { "eslint": "^10.1.0", "typescript": "^6.0.2" } }, "c0620280e62a390efea7a350f3eb6a9fd3ba1d4e"],
|
||||||
|
|
||||||
|
|
@ -106,7 +108,7 @@
|
||||||
|
|
||||||
"@loaderkit/resolve": ["@loaderkit/resolve@1.0.4", "", { "dependencies": { "@braidai/lang": "^1.0.0" } }, "sha512-rJzYKVcV4dxJv+vW6jlvagF8zvGxHJ2+HTr1e2qOejfmGhAApgJHl8Aog4mMszxceTRiKTTbnpgmTO1bEZHV/A=="],
|
"@loaderkit/resolve": ["@loaderkit/resolve@1.0.4", "", { "dependencies": { "@braidai/lang": "^1.0.0" } }, "sha512-rJzYKVcV4dxJv+vW6jlvagF8zvGxHJ2+HTr1e2qOejfmGhAApgJHl8Aog4mMszxceTRiKTTbnpgmTO1bEZHV/A=="],
|
||||||
|
|
||||||
"@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.2", "", { "dependencies": { "@tybys/wasm-util": "^0.10.1" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" } }, "sha512-sNXv5oLJ7ob93xkZ1XnxisYhGYXfaG9f65/ZgYuAu3qt7b3NadcOEhLvx28hv31PgX8SZJRYrAIPQilQmFpLVw=="],
|
"@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@1.1.3", "", { "dependencies": { "@tybys/wasm-util": "^0.10.1" }, "peerDependencies": { "@emnapi/core": "^1.7.1", "@emnapi/runtime": "^1.7.1" } }, "sha512-xK9sGVbJWYb08+mTJt3/YV24WxvxpXcXtP6B172paPZ+Ts69Re9dAr7lKwJoeIx8OoeuimEiRZ7umkiUVClmmQ=="],
|
||||||
|
|
||||||
"@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="],
|
"@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="],
|
||||||
|
|
||||||
|
|
@ -294,7 +296,7 @@
|
||||||
|
|
||||||
"@tybys/wasm-util": ["@tybys/wasm-util@0.10.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="],
|
"@tybys/wasm-util": ["@tybys/wasm-util@0.10.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="],
|
||||||
|
|
||||||
"@types/bun": ["@types/bun@1.3.11", "", { "dependencies": { "bun-types": "1.3.11" } }, "sha512-5vPne5QvtpjGpsGYXiFyycfpDF2ECyPcTSsFBMa0fraoxiQyMJ3SmuQIGhzPg2WJuWxVBoxWJ2kClYTcw/4fAg=="],
|
"@types/bun": ["@types/bun@1.3.12", "", { "dependencies": { "bun-types": "1.3.12" } }, "sha512-DBv81elK+/VSwXHDlnH3Qduw+KxkTIWi7TXkAeh24zpi5l0B2kUg9Ga3tb4nJaPcOFswflgi/yAvMVBPrxMB+A=="],
|
||||||
|
|
||||||
"@types/debug": ["@types/debug@4.1.13", "", { "dependencies": { "@types/ms": "*" } }, "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw=="],
|
"@types/debug": ["@types/debug@4.1.13", "", { "dependencies": { "@types/ms": "*" } }, "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw=="],
|
||||||
|
|
||||||
|
|
@ -310,29 +312,29 @@
|
||||||
|
|
||||||
"@types/ms": ["@types/ms@2.1.0", "", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="],
|
"@types/ms": ["@types/ms@2.1.0", "", {}, "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="],
|
||||||
|
|
||||||
"@types/node": ["@types/node@25.5.2", "", { "dependencies": { "undici-types": "~7.18.0" } }, "sha512-tO4ZIRKNC+MDWV4qKVZe3Ql/woTnmHDr5JD8UI5hn2pwBrHEwOEMZK7WlNb5RKB6EoJ02gwmQS9OrjuFnZYdpg=="],
|
"@types/node": ["@types/node@25.6.0", "", { "dependencies": { "undici-types": "~7.19.0" } }, "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ=="],
|
||||||
|
|
||||||
"@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],
|
"@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="],
|
||||||
|
|
||||||
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.58.0", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.58.0", "@typescript-eslint/type-utils": "8.58.0", "@typescript-eslint/utils": "8.58.0", "@typescript-eslint/visitor-keys": "8.58.0", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.58.0", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-RLkVSiNuUP1C2ROIWfqX+YcUfLaSnxGE/8M+Y57lopVwg9VTYYfhuz15Yf1IzCKgZj6/rIbYTmJCUSqr76r0Wg=="],
|
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.58.1", "", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.58.1", "@typescript-eslint/type-utils": "8.58.1", "@typescript-eslint/utils": "8.58.1", "@typescript-eslint/visitor-keys": "8.58.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.58.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-eSkwoemjo76bdXl2MYqtxg51HNwUSkWfODUOQ3PaTLZGh9uIWWFZIjyjaJnex7wXDu+TRx+ATsnSxdN9YWfRTQ=="],
|
||||||
|
|
||||||
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.58.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.58.0", "@typescript-eslint/types": "8.58.0", "@typescript-eslint/typescript-estree": "8.58.0", "@typescript-eslint/visitor-keys": "8.58.0", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-rLoGZIf9afaRBYsPUMtvkDWykwXwUPL60HebR4JgTI8mxfFe2cQTu3AGitANp4b9B2QlVru6WzjgB2IzJKiCSA=="],
|
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.58.1", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.58.1", "@typescript-eslint/types": "8.58.1", "@typescript-eslint/typescript-estree": "8.58.1", "@typescript-eslint/visitor-keys": "8.58.1", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-gGkiNMPqerb2cJSVcruigx9eHBlLG14fSdPdqMoOcBfh+vvn4iCq2C8MzUB89PrxOXk0y3GZ1yIWb9aOzL93bw=="],
|
||||||
|
|
||||||
"@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.58.0", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.58.0", "@typescript-eslint/types": "^8.58.0", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-8Q/wBPWLQP1j16NxoPNIKpDZFMaxl7yWIoqXWYeWO+Bbd2mjgvoF0dxP2jKZg5+x49rgKdf7Ck473M8PC3V9lg=="],
|
"@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.58.1", "", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.58.1", "@typescript-eslint/types": "^8.58.1", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-gfQ8fk6cxhtptek+/8ZIqw8YrRW5048Gug8Ts5IYcMLCw18iUgrZAEY/D7s4hkI0FxEfGakKuPK/XUMPzPxi5g=="],
|
||||||
|
|
||||||
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.58.0", "", { "dependencies": { "@typescript-eslint/types": "8.58.0", "@typescript-eslint/visitor-keys": "8.58.0" } }, "sha512-W1Lur1oF50FxSnNdGp3Vs6P+yBRSmZiw4IIjEeYxd8UQJwhUF0gDgDD/W/Tgmh73mxgEU3qX0Bzdl/NGuSPEpQ=="],
|
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.58.1", "", { "dependencies": { "@typescript-eslint/types": "8.58.1", "@typescript-eslint/visitor-keys": "8.58.1" } }, "sha512-TPYUEqJK6avLcEjumWsIuTpuYODTTDAtoMdt8ZZa93uWMTX13Nb8L5leSje1NluammvU+oI3QRr5lLXPgihX3w=="],
|
||||||
|
|
||||||
"@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.58.0", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-doNSZEVJsWEu4htiVC+PR6NpM+pa+a4ClH9INRWOWCUzMst/VA9c4gXq92F8GUD1rwhNvRLkgjfYtFXegXQF7A=="],
|
"@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.58.1", "", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-JAr2hOIct2Q+qk3G+8YFfqkqi7sC86uNryT+2i5HzMa2MPjw4qNFvtjnw1IiA1rP7QhNKVe21mSSLaSjwA1Olw=="],
|
||||||
|
|
||||||
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.58.0", "", { "dependencies": { "@typescript-eslint/types": "8.58.0", "@typescript-eslint/typescript-estree": "8.58.0", "@typescript-eslint/utils": "8.58.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-aGsCQImkDIqMyx1u4PrVlbi/krmDsQUs4zAcCV6M7yPcPev+RqVlndsJy9kJ8TLihW9TZ0kbDAzctpLn5o+lOg=="],
|
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.58.1", "", { "dependencies": { "@typescript-eslint/types": "8.58.1", "@typescript-eslint/typescript-estree": "8.58.1", "@typescript-eslint/utils": "8.58.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-HUFxvTJVroT+0rXVJC7eD5zol6ID+Sn5npVPWoFuHGg9Ncq5Q4EYstqR+UOqaNRFXi5TYkpXXkLhoCHe3G0+7w=="],
|
||||||
|
|
||||||
"@typescript-eslint/types": ["@typescript-eslint/types@8.58.0", "", {}, "sha512-O9CjxypDT89fbHxRfETNoAnHj/i6IpRK0CvbVN3qibxlLdo5p5hcLmUuCCrHMpxiWSwKyI8mCP7qRNYuOJ0Uww=="],
|
"@typescript-eslint/types": ["@typescript-eslint/types@8.58.1", "", {}, "sha512-io/dV5Aw5ezwzfPBBWLoT+5QfVtP8O7q4Kftjn5azJ88bYyp/ZMCsyW1lpKK46EXJcaYMZ1JtYj+s/7TdzmQMw=="],
|
||||||
|
|
||||||
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.58.0", "", { "dependencies": { "@typescript-eslint/project-service": "8.58.0", "@typescript-eslint/tsconfig-utils": "8.58.0", "@typescript-eslint/types": "8.58.0", "@typescript-eslint/visitor-keys": "8.58.0", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-7vv5UWbHqew/dvs+D3e1RvLv1v2eeZ9txRHPnEEBUgSNLx5ghdzjHa0sgLWYVKssH+lYmV0JaWdoubo0ncGYLA=="],
|
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.58.1", "", { "dependencies": { "@typescript-eslint/project-service": "8.58.1", "@typescript-eslint/tsconfig-utils": "8.58.1", "@typescript-eslint/types": "8.58.1", "@typescript-eslint/visitor-keys": "8.58.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-w4w7WR7GHOjqqPnvAYbazq+Y5oS68b9CzasGtnd6jIeOIeKUzYzupGTB2T4LTPSv4d+WPeccbxuneTFHYgAAWg=="],
|
||||||
|
|
||||||
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.58.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.58.0", "@typescript-eslint/types": "8.58.0", "@typescript-eslint/typescript-estree": "8.58.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-RfeSqcFeHMHlAWzt4TBjWOAtoW9lnsAGiP3GbaX9uVgTYYrMbVnGONEfUCiSss+xMHFl+eHZiipmA8WkQ7FuNA=="],
|
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.58.1", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.58.1", "@typescript-eslint/types": "8.58.1", "@typescript-eslint/typescript-estree": "8.58.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-Ln8R0tmWC7pTtLOzgJzYTXSCjJ9rDNHAqTaVONF4FEi2qwce8mD9iSOxOpLFFvWp/wBFlew0mjM1L1ihYWfBdQ=="],
|
||||||
|
|
||||||
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.58.0", "", { "dependencies": { "@typescript-eslint/types": "8.58.0", "eslint-visitor-keys": "^5.0.0" } }, "sha512-XJ9UD9+bbDo4a4epraTwG3TsNPeiB9aShrUneAVXy8q4LuwowN+qu89/6ByLMINqvIMeI9H9hOHQtg/ijrYXzQ=="],
|
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.58.1", "", { "dependencies": { "@typescript-eslint/types": "8.58.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-y+vH7QE8ycjoa0bWciFg7OpFcipUuem1ujhrdLtq1gByKwfbC7bPeKsiny9e0urg93DqwGcHey+bGRKCnF1nZQ=="],
|
||||||
|
|
||||||
"@xml-tools/parser": ["@xml-tools/parser@1.0.11", "", { "dependencies": { "chevrotain": "7.1.1" } }, "sha512-aKqQ077XnR+oQtHJlrAflaZaL7qZsulWc/i/ZEooar5JiWj1eLt0+Wg28cpa+XLney107wXqneC+oG1IZvxkTA=="],
|
"@xml-tools/parser": ["@xml-tools/parser@1.0.11", "", { "dependencies": { "chevrotain": "7.1.1" } }, "sha512-aKqQ077XnR+oQtHJlrAflaZaL7qZsulWc/i/ZEooar5JiWj1eLt0+Wg28cpa+XLney107wXqneC+oG1IZvxkTA=="],
|
||||||
|
|
||||||
|
|
@ -376,7 +378,7 @@
|
||||||
|
|
||||||
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
||||||
|
|
||||||
"baseline-browser-mapping": ["baseline-browser-mapping@2.10.16", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-Lyf3aK28zpsD1yQMiiHD4RvVb6UdMoo8xzG2XzFIfR9luPzOpcBlAsT/qfB1XWS1bxWT+UtE4WmQgsp297FYOA=="],
|
"baseline-browser-mapping": ["baseline-browser-mapping@2.10.17", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-HdrkN8eVG2CXxeifv/VdJ4A4RSra1DTW8dc/hdxzhGHN8QePs6gKaWM9pHPcpCoxYZJuOZ8drHmbdpLHjCYjLA=="],
|
||||||
|
|
||||||
"binary-searching": ["binary-searching@2.0.5", "", {}, "sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA=="],
|
"binary-searching": ["binary-searching@2.0.5", "", {}, "sha512-v4N2l3RxL+m4zDxyxz3Ne2aTmiPn8ZUpKFpdPtO+ItW1NcTCXA7JeHG5GMBSvoKSkQZ9ycS+EouDVxYB9ufKWA=="],
|
||||||
|
|
||||||
|
|
@ -390,19 +392,19 @@
|
||||||
|
|
||||||
"builtin-modules": ["builtin-modules@3.3.0", "", {}, "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw=="],
|
"builtin-modules": ["builtin-modules@3.3.0", "", {}, "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw=="],
|
||||||
|
|
||||||
"bun-types": ["bun-types@1.3.11", "", { "dependencies": { "@types/node": "*" } }, "sha512-1KGPpoxQWl9f6wcZh57LvrPIInQMn2TQ7jsgxqpRzg+l0QPOFvJVH7HmvHo/AiPgwXy+/Thf6Ov3EdVn1vOabg=="],
|
"bun-types": ["bun-types@1.3.12", "", { "dependencies": { "@types/node": "*" } }, "sha512-HqOLj5PoFajAQciOMRiIZGNoKxDJSr6qigAttOX40vJuSp6DN/CxWp9s3C1Xwm4oH7ybueITwiaOcWXoYVoRkA=="],
|
||||||
|
|
||||||
"bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
|
"bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
|
||||||
|
|
||||||
"cac": ["cac@7.0.0", "", {}, "sha512-tixWYgm5ZoOD+3g6UTea91eow5z6AAHaho3g0V9CNSNb45gM8SmflpAc+GRd1InC4AqN/07Unrgp56Y94N9hJQ=="],
|
"cac": ["cac@7.0.0", "", {}, "sha512-tixWYgm5ZoOD+3g6UTea91eow5z6AAHaho3g0V9CNSNb45gM8SmflpAc+GRd1InC4AqN/07Unrgp56Y94N9hJQ=="],
|
||||||
|
|
||||||
"call-bind": ["call-bind@1.0.8", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.2" } }, "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww=="],
|
"call-bind": ["call-bind@1.0.9", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "get-intrinsic": "^1.3.0", "set-function-length": "^1.2.2" } }, "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ=="],
|
||||||
|
|
||||||
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
|
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
|
||||||
|
|
||||||
"call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
|
"call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
|
||||||
|
|
||||||
"caniuse-lite": ["caniuse-lite@1.0.30001786", "", {}, "sha512-4oxTZEvqmLLrERwxO76yfKM7acZo310U+v4kqexI2TL1DkkUEMT8UijrxxcnVdxR3qkVf5awGRX+4Z6aPHVKrA=="],
|
"caniuse-lite": ["caniuse-lite@1.0.30001787", "", {}, "sha512-mNcrMN9KeI68u7muanUpEejSLghOKlVhRqS/Za2IeyGllJ9I9otGpR9g3nsw7n4W378TE/LyIteA0+/FOZm4Kg=="],
|
||||||
|
|
||||||
"change-case": ["change-case@5.4.4", "", {}, "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w=="],
|
"change-case": ["change-case@5.4.4", "", {}, "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w=="],
|
||||||
|
|
||||||
|
|
@ -456,7 +458,7 @@
|
||||||
|
|
||||||
"dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
|
"dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
|
||||||
|
|
||||||
"electron-to-chromium": ["electron-to-chromium@1.5.332", "", {}, "sha512-7OOtytmh/rINMLwaFTbcMVvYXO3AUm029X0LcyfYk0B557RlPkdpTpnH9+htMlfu5dKwOmT0+Zs2Aw+lnn6TeQ=="],
|
"electron-to-chromium": ["electron-to-chromium@1.5.335", "", {}, "sha512-q9n5T4BR4Xwa2cwbrwcsDJtHD/enpQ5S1xF1IAtdqf5AAgqDFmR/aakqH3ChFdqd/QXJhS3rnnXFtexU7rax6Q=="],
|
||||||
|
|
||||||
"emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="],
|
"emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="],
|
||||||
|
|
||||||
|
|
@ -464,7 +466,7 @@
|
||||||
|
|
||||||
"entities": ["entities@7.0.1", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="],
|
"entities": ["entities@7.0.1", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="],
|
||||||
|
|
||||||
"es-abstract": ["es-abstract@1.24.1", "", { "dependencies": { "array-buffer-byte-length": "^1.0.2", "arraybuffer.prototype.slice": "^1.0.4", "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.8", "call-bound": "^1.0.4", "data-view-buffer": "^1.0.2", "data-view-byte-length": "^1.0.2", "data-view-byte-offset": "^1.0.1", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "es-set-tostringtag": "^2.1.0", "es-to-primitive": "^1.3.0", "function.prototype.name": "^1.1.8", "get-intrinsic": "^1.3.0", "get-proto": "^1.0.1", "get-symbol-description": "^1.1.0", "globalthis": "^1.0.4", "gopd": "^1.2.0", "has-property-descriptors": "^1.0.2", "has-proto": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "internal-slot": "^1.1.0", "is-array-buffer": "^3.0.5", "is-callable": "^1.2.7", "is-data-view": "^1.0.2", "is-negative-zero": "^2.0.3", "is-regex": "^1.2.1", "is-set": "^2.0.3", "is-shared-array-buffer": "^1.0.4", "is-string": "^1.1.1", "is-typed-array": "^1.1.15", "is-weakref": "^1.1.1", "math-intrinsics": "^1.1.0", "object-inspect": "^1.13.4", "object-keys": "^1.1.1", "object.assign": "^4.1.7", "own-keys": "^1.0.1", "regexp.prototype.flags": "^1.5.4", "safe-array-concat": "^1.1.3", "safe-push-apply": "^1.0.0", "safe-regex-test": "^1.1.0", "set-proto": "^1.0.0", "stop-iteration-iterator": "^1.1.0", "string.prototype.trim": "^1.2.10", "string.prototype.trimend": "^1.0.9", "string.prototype.trimstart": "^1.0.8", "typed-array-buffer": "^1.0.3", "typed-array-byte-length": "^1.0.3", "typed-array-byte-offset": "^1.0.4", "typed-array-length": "^1.0.7", "unbox-primitive": "^1.1.0", "which-typed-array": "^1.1.19" } }, "sha512-zHXBLhP+QehSSbsS9Pt23Gg964240DPd6QCf8WpkqEXxQ7fhdZzYsocOr5u7apWonsS5EjZDmTF+/slGMyasvw=="],
|
"es-abstract": ["es-abstract@1.24.2", "", { "dependencies": { "array-buffer-byte-length": "^1.0.2", "arraybuffer.prototype.slice": "^1.0.4", "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.8", "call-bound": "^1.0.4", "data-view-buffer": "^1.0.2", "data-view-byte-length": "^1.0.2", "data-view-byte-offset": "^1.0.1", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "es-set-tostringtag": "^2.1.0", "es-to-primitive": "^1.3.0", "function.prototype.name": "^1.1.8", "get-intrinsic": "^1.3.0", "get-proto": "^1.0.1", "get-symbol-description": "^1.1.0", "globalthis": "^1.0.4", "gopd": "^1.2.0", "has-property-descriptors": "^1.0.2", "has-proto": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "internal-slot": "^1.1.0", "is-array-buffer": "^3.0.5", "is-callable": "^1.2.7", "is-data-view": "^1.0.2", "is-negative-zero": "^2.0.3", "is-regex": "^1.2.1", "is-set": "^2.0.3", "is-shared-array-buffer": "^1.0.4", "is-string": "^1.1.1", "is-typed-array": "^1.1.15", "is-weakref": "^1.1.1", "math-intrinsics": "^1.1.0", "object-inspect": "^1.13.4", "object-keys": "^1.1.1", "object.assign": "^4.1.7", "own-keys": "^1.0.1", "regexp.prototype.flags": "^1.5.4", "safe-array-concat": "^1.1.3", "safe-push-apply": "^1.0.0", "safe-regex-test": "^1.1.0", "set-proto": "^1.0.0", "stop-iteration-iterator": "^1.1.0", "string.prototype.trim": "^1.2.10", "string.prototype.trimend": "^1.0.9", "string.prototype.trimstart": "^1.0.8", "typed-array-buffer": "^1.0.3", "typed-array-byte-length": "^1.0.3", "typed-array-byte-offset": "^1.0.4", "typed-array-length": "^1.0.7", "unbox-primitive": "^1.1.0", "which-typed-array": "^1.1.19" } }, "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg=="],
|
||||||
|
|
||||||
"es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
|
"es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
|
||||||
|
|
||||||
|
|
@ -486,7 +488,7 @@
|
||||||
|
|
||||||
"eslint-compat-utils": ["eslint-compat-utils@0.6.5", "", { "dependencies": { "semver": "^7.5.4" }, "peerDependencies": { "eslint": ">=6.0.0" } }, "sha512-vAUHYzue4YAa2hNACjB8HvUQj5yehAZgiClyFVVom9cP8z5NSFq3PwB/TtJslN2zAMgRX6FCFCjYBbQh71g5RQ=="],
|
"eslint-compat-utils": ["eslint-compat-utils@0.6.5", "", { "dependencies": { "semver": "^7.5.4" }, "peerDependencies": { "eslint": ">=6.0.0" } }, "sha512-vAUHYzue4YAa2hNACjB8HvUQj5yehAZgiClyFVVom9cP8z5NSFq3PwB/TtJslN2zAMgRX6FCFCjYBbQh71g5RQ=="],
|
||||||
|
|
||||||
"eslint-plugin-astro": ["eslint-plugin-astro@1.6.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@jridgewell/sourcemap-codec": "^1.4.14", "@typescript-eslint/types": "^7.7.1 || ^8", "astro-eslint-parser": "^1.3.0", "eslint-compat-utils": "^0.6.0", "globals": "^16.0.0", "postcss": "^8.4.14", "postcss-selector-parser": "^7.0.0" }, "peerDependencies": { "eslint": ">=8.57.0" } }, "sha512-yGIbLHuj5MOUXa0s4sZ6cVhv6ehb+WLF80tsrGaxMk6VTUExruMzubQDzhOYt8fbR1c9vILCCRSCsKI7M1whig=="],
|
"eslint-plugin-astro": ["eslint-plugin-astro@1.7.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@jridgewell/sourcemap-codec": "^1.4.14", "@typescript-eslint/types": "^7.7.1 || ^8", "astro-eslint-parser": "^1.3.0", "eslint-compat-utils": "^0.6.0", "globals": "^16.0.0", "postcss": "^8.4.14", "postcss-selector-parser": "^7.0.0" }, "peerDependencies": { "eslint": ">=8.57.0" } }, "sha512-89xpAn528UKCdmyysbg0AHHqi6sqcK89wXnJIpu4F0mFBN03zATEBNK7pRtMfl6gwtMOm5ECXs+Wz5qDHhwTFw=="],
|
||||||
|
|
||||||
"eslint-plugin-functional": ["eslint-plugin-functional@9.0.4", "", { "dependencies": { "@typescript-eslint/utils": "^8.26.0", "deepmerge-ts": "^7.1.5", "escape-string-regexp": "^5.0.0", "is-immutable-type": "^5.0.1", "ts-api-utils": "^2.0.1", "ts-declaration-location": "^1.0.6" }, "peerDependencies": { "eslint": "^9.0.0 || ^10.0.0", "typescript": ">=4.7.4" }, "optionalPeers": ["typescript"] }, "sha512-zm4qaoqb2r50V4WXxt0Mj92buXGMECYvMxGQ6sSb+XeJ+Eec6zCHuMY2+AWK1mqiApvUz2tCtp1P3zcEPU0huw=="],
|
"eslint-plugin-functional": ["eslint-plugin-functional@9.0.4", "", { "dependencies": { "@typescript-eslint/utils": "^8.26.0", "deepmerge-ts": "^7.1.5", "escape-string-regexp": "^5.0.0", "is-immutable-type": "^5.0.1", "ts-api-utils": "^2.0.1", "ts-declaration-location": "^1.0.6" }, "peerDependencies": { "eslint": "^9.0.0 || ^10.0.0", "typescript": ">=4.7.4" }, "optionalPeers": ["typescript"] }, "sha512-zm4qaoqb2r50V4WXxt0Mj92buXGMECYvMxGQ6sSb+XeJ+Eec6zCHuMY2+AWK1mqiApvUz2tCtp1P3zcEPU0huw=="],
|
||||||
|
|
||||||
|
|
@ -674,7 +676,7 @@
|
||||||
|
|
||||||
"keyv": ["keyv@4.5.4", "", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="],
|
"keyv": ["keyv@4.5.4", "", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="],
|
||||||
|
|
||||||
"knip": ["knip@6.3.0", "", { "dependencies": { "@nodelib/fs.walk": "^1.2.3", "fast-glob": "^3.3.3", "formatly": "^0.3.0", "get-tsconfig": "4.13.7", "jiti": "^2.6.0", "minimist": "^1.2.8", "oxc-parser": "^0.121.0", "oxc-resolver": "^11.19.1", "picocolors": "^1.1.1", "picomatch": "^4.0.1", "smol-toml": "^1.6.1", "strip-json-comments": "5.0.3", "unbash": "^2.2.0", "yaml": "^2.8.2", "zod": "^4.1.11" }, "bin": { "knip": "bin/knip.js", "knip-bun": "bin/knip-bun.js" } }, "sha512-g6dVPoTw6iNm3cubC5IWxVkVsd0r5hXhTBTbAGIEQN53GdA2ZM/slMTPJ7n5l8pBebNQPHpxjmKxuR4xVQ2/hQ=="],
|
"knip": ["knip@6.4.0", "", { "dependencies": { "@nodelib/fs.walk": "^1.2.3", "fast-glob": "^3.3.3", "formatly": "^0.3.0", "get-tsconfig": "4.13.7", "jiti": "^2.6.0", "minimist": "^1.2.8", "oxc-parser": "^0.121.0", "oxc-resolver": "^11.19.1", "picocolors": "^1.1.1", "picomatch": "^4.0.1", "smol-toml": "^1.6.1", "strip-json-comments": "5.0.3", "unbash": "^2.2.0", "yaml": "^2.8.2", "zod": "^4.1.11" }, "bin": { "knip": "bin/knip.js", "knip-bun": "bin/knip-bun.js" } }, "sha512-SAEeggehgkPdoLZWVEcFKzPw+vNlnrUBDqcX8cOcHGydRInSn5pnn9LN3dDJ8SkDHKXR7xYzNq3HtRJaYmxOHg=="],
|
||||||
|
|
||||||
"language-subtag-registry": ["language-subtag-registry@0.3.23", "", {}, "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ=="],
|
"language-subtag-registry": ["language-subtag-registry@0.3.23", "", {}, "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ=="],
|
||||||
|
|
||||||
|
|
@ -688,7 +690,7 @@
|
||||||
|
|
||||||
"lodash.merge": ["lodash.merge@4.6.2", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="],
|
"lodash.merge": ["lodash.merge@4.6.2", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="],
|
||||||
|
|
||||||
"lru-cache": ["lru-cache@11.3.2", "", {}, "sha512-wgWa6FWQ3QRRJbIjbsldRJZxdxYngT/dO0I5Ynmlnin8qy7tC6xYzbcJjtN4wHLXtkbVwHzk0C+OejVw1XM+DQ=="],
|
"lru-cache": ["lru-cache@11.3.3", "", {}, "sha512-JvNw9Y81y33E+BEYPr0U7omo+U9AySnsMsEiXgwT6yqd31VQWTLNQqmT4ou5eqPFUrTfIDFta2wKhB1hyohtAQ=="],
|
||||||
|
|
||||||
"math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
|
"math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
|
||||||
|
|
||||||
|
|
@ -810,13 +812,13 @@
|
||||||
|
|
||||||
"possible-typed-array-names": ["possible-typed-array-names@1.1.0", "", {}, "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg=="],
|
"possible-typed-array-names": ["possible-typed-array-names@1.1.0", "", {}, "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg=="],
|
||||||
|
|
||||||
"postcss": ["postcss@8.5.8", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg=="],
|
"postcss": ["postcss@8.5.9", "", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-7a70Nsot+EMX9fFU3064K/kdHWZqGVY+BADLyXc8Dfv+mTLLVl6JzJpPaCZ2kQL9gIJvKXSLMHhqdRRjwQeFtw=="],
|
||||||
|
|
||||||
"postcss-selector-parser": ["postcss-selector-parser@7.1.1", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg=="],
|
"postcss-selector-parser": ["postcss-selector-parser@7.1.1", "", { "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" } }, "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg=="],
|
||||||
|
|
||||||
"prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="],
|
"prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="],
|
||||||
|
|
||||||
"prettier": ["prettier@3.8.1", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="],
|
"prettier": ["prettier@3.8.2", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-8c3mgTe0ASwWAJK+78dpviD+A8EqhndQPUBpNUIPt6+xWlIigCwfN01lWr9MAede4uqXGTEKeQWTvzb3vjia0Q=="],
|
||||||
|
|
||||||
"prettier-plugin-curly": ["prettier-plugin-curly@0.4.1", "", { "peerDependencies": { "prettier": "^3" } }, "sha512-Xc7zatoD0/08zYFv+hwnlqT5ekM81DCbBr73CWAsr1Fmx7qLQT/M0wfPx6w/+zfnmXH009xYvjzLUPcwzq7Fbw=="],
|
"prettier-plugin-curly": ["prettier-plugin-curly@0.4.1", "", { "peerDependencies": { "prettier": "^3" } }, "sha512-Xc7zatoD0/08zYFv+hwnlqT5ekM81DCbBr73CWAsr1Fmx7qLQT/M0wfPx6w/+zfnmXH009xYvjzLUPcwzq7Fbw=="],
|
||||||
|
|
||||||
|
|
@ -890,7 +892,7 @@
|
||||||
|
|
||||||
"side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="],
|
"side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="],
|
||||||
|
|
||||||
"side-channel-list": ["side-channel-list@1.0.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3" } }, "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA=="],
|
"side-channel-list": ["side-channel-list@1.0.1", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4" } }, "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w=="],
|
||||||
|
|
||||||
"side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
|
"side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
|
||||||
|
|
||||||
|
|
@ -922,9 +924,9 @@
|
||||||
|
|
||||||
"synckit": ["synckit@0.11.12", "", { "dependencies": { "@pkgr/core": "^0.2.9" } }, "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ=="],
|
"synckit": ["synckit@0.11.12", "", { "dependencies": { "@pkgr/core": "^0.2.9" } }, "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ=="],
|
||||||
|
|
||||||
"tinyexec": ["tinyexec@1.0.4", "", {}, "sha512-u9r3uZC0bdpGOXtlxUIdwf9pkmvhqJdrVCH9fapQtgy/OeTTMZ1nqH7agtvEfmGui6e1XxjcdrlxvxJvc3sMqw=="],
|
"tinyexec": ["tinyexec@1.1.1", "", {}, "sha512-VKS/ZaQhhkKFMANmAOhhXVoIfBXblQxGX1myCQ2faQrfmobMftXeJPcZGp0gS07ocvGJWDLZGyOZDadDBqYIJg=="],
|
||||||
|
|
||||||
"tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="],
|
"tinyglobby": ["tinyglobby@0.2.16", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="],
|
||||||
|
|
||||||
"to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],
|
"to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],
|
||||||
|
|
||||||
|
|
@ -952,7 +954,7 @@
|
||||||
|
|
||||||
"typescript": ["typescript@6.0.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ=="],
|
"typescript": ["typescript@6.0.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ=="],
|
||||||
|
|
||||||
"typescript-eslint": ["typescript-eslint@8.58.0", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.58.0", "@typescript-eslint/parser": "8.58.0", "@typescript-eslint/typescript-estree": "8.58.0", "@typescript-eslint/utils": "8.58.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-e2TQzKfaI85fO+F3QywtX+tCTsu/D3WW5LVU6nz8hTFKFZ8yBJ6mSYRpXqdR3mFjPWmO0eWsTa5f+UpAOe/FMA=="],
|
"typescript-eslint": ["typescript-eslint@8.58.1", "", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.58.1", "@typescript-eslint/parser": "8.58.1", "@typescript-eslint/typescript-estree": "8.58.1", "@typescript-eslint/utils": "8.58.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-gf6/oHChByg9HJvhMO1iBexJh12AqqTfnuxscMDOVqfJW3htsdRJI/GfPpHTTcyeB8cSTUY2JcZmVgoyPqcrDg=="],
|
||||||
|
|
||||||
"unbash": ["unbash@2.2.0", "", {}, "sha512-X2wH19RAPZE3+ldGicOkoj/SIA83OIxcJ6Cuaw23hf8Xc6fQpvZXY0SftE2JgS0QhYLUG4uwodSI3R53keyh7w=="],
|
"unbash": ["unbash@2.2.0", "", {}, "sha512-X2wH19RAPZE3+ldGicOkoj/SIA83OIxcJ6Cuaw23hf8Xc6fQpvZXY0SftE2JgS0QhYLUG4uwodSI3R53keyh7w=="],
|
||||||
|
|
||||||
|
|
@ -960,7 +962,7 @@
|
||||||
|
|
||||||
"unconfig-core": ["unconfig-core@7.5.0", "", { "dependencies": { "@quansync/fs": "^1.0.0", "quansync": "^1.0.0" } }, "sha512-Su3FauozOGP44ZmKdHy2oE6LPjk51M/TRRjHv2HNCWiDvfvCoxC2lno6jevMA91MYAdCdwP05QnWdWpSbncX/w=="],
|
"unconfig-core": ["unconfig-core@7.5.0", "", { "dependencies": { "@quansync/fs": "^1.0.0", "quansync": "^1.0.0" } }, "sha512-Su3FauozOGP44ZmKdHy2oE6LPjk51M/TRRjHv2HNCWiDvfvCoxC2lno6jevMA91MYAdCdwP05QnWdWpSbncX/w=="],
|
||||||
|
|
||||||
"undici-types": ["undici-types@7.18.2", "", {}, "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w=="],
|
"undici-types": ["undici-types@7.19.2", "", {}, "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg=="],
|
||||||
|
|
||||||
"unist-util-stringify-position": ["unist-util-stringify-position@4.0.0", "", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ=="],
|
"unist-util-stringify-position": ["unist-util-stringify-position@4.0.0", "", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ=="],
|
||||||
|
|
||||||
|
|
|
||||||
3
dist/index.mjs
vendored
3
dist/index.mjs
vendored
|
|
@ -277,6 +277,7 @@ const esLintRules = {
|
||||||
typedefs: true,
|
typedefs: true,
|
||||||
variables: true
|
variables: true
|
||||||
}],
|
}],
|
||||||
|
"eslint/no-useless-assignment": "deny",
|
||||||
"eslint/no-useless-backreference": "deny",
|
"eslint/no-useless-backreference": "deny",
|
||||||
"eslint/no-useless-call": "deny",
|
"eslint/no-useless-call": "deny",
|
||||||
"eslint/no-useless-catch": "deny",
|
"eslint/no-useless-catch": "deny",
|
||||||
|
|
@ -987,6 +988,7 @@ const unicornRules = {
|
||||||
"unicorn/no-useless-collection-argument": "deny",
|
"unicorn/no-useless-collection-argument": "deny",
|
||||||
"unicorn/no-useless-error-capture-stack-trace": "deny",
|
"unicorn/no-useless-error-capture-stack-trace": "deny",
|
||||||
"unicorn/no-useless-fallback-in-spread": "deny",
|
"unicorn/no-useless-fallback-in-spread": "deny",
|
||||||
|
"unicorn/no-useless-iterator-to-array": "deny",
|
||||||
"unicorn/no-useless-length-check": "deny",
|
"unicorn/no-useless-length-check": "deny",
|
||||||
"unicorn/no-useless-promise-resolve-reject": ["deny", { allowReject: false }],
|
"unicorn/no-useless-promise-resolve-reject": ["deny", { allowReject: false }],
|
||||||
"unicorn/no-useless-spread": "deny",
|
"unicorn/no-useless-spread": "deny",
|
||||||
|
|
@ -1036,6 +1038,7 @@ const unicornRules = {
|
||||||
"unicorn/prefer-dom-node-text-content": "deny",
|
"unicorn/prefer-dom-node-text-content": "deny",
|
||||||
"unicorn/prefer-event-target": "deny",
|
"unicorn/prefer-event-target": "deny",
|
||||||
"unicorn/prefer-global-this": "deny",
|
"unicorn/prefer-global-this": "deny",
|
||||||
|
"unicorn/prefer-import-meta-properties": "deny",
|
||||||
"unicorn/prefer-includes": "deny",
|
"unicorn/prefer-includes": "deny",
|
||||||
"unicorn/prefer-keyboard-event-key": "deny",
|
"unicorn/prefer-keyboard-event-key": "deny",
|
||||||
"unicorn/prefer-logical-operator-over-ternary": "deny",
|
"unicorn/prefer-logical-operator-over-ternary": "deny",
|
||||||
|
|
|
||||||
17
justfile
17
justfile
|
|
@ -3,13 +3,16 @@ set shell := ["/usr/bin/fish", "-c"]
|
||||||
# Formate le code.
|
# Formate le code.
|
||||||
format:
|
format:
|
||||||
bun prettier \
|
bun prettier \
|
||||||
--cache --cache-location ".cache/prettiercache" \
|
--cache --cache-location ".cache/prettiercache" \
|
||||||
--config "cfg/prettier.config.ts" \
|
--config "cfg/prettier.config.ts" \
|
||||||
--ignore-path "cfg/prettierignore" \
|
--ignore-path "cfg/prettierignore" \
|
||||||
--ignore-unknown \
|
--ignore-unknown \
|
||||||
--parallel-workers 8 \
|
--parallel-workers 8 \
|
||||||
--write .
|
--write .
|
||||||
dprint fmt --config ~/.config/dprint/dprint.jsonc
|
treefmt \
|
||||||
|
--config-file ~/.config/treefmt/treefmt.toml \
|
||||||
|
--tree-root . \
|
||||||
|
.
|
||||||
|
|
||||||
# Met à jour les dépendances NPM.
|
# Met à jour les dépendances NPM.
|
||||||
update:
|
update:
|
||||||
|
|
|
||||||
25
package.json
25
package.json
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@gcch/configuration-oxlint",
|
"name": "@gcch/configuration-oxlint",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Configuration Oxlint partageable pour gcch.",
|
"description": "Configuration Oxlint partageable pour gcch.",
|
||||||
"main": "./dist/index.mjs",
|
"main": "./dist/index.mjs",
|
||||||
|
|
@ -10,9 +10,11 @@
|
||||||
".": "./dist/index.mjs",
|
".": "./dist/index.mjs",
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"files": ["dist"],
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint-plugin-astro": "^1.6.0",
|
"eslint-plugin-astro": "^1.7.0",
|
||||||
"eslint-plugin-functional": "^9.0.4",
|
"eslint-plugin-functional": "^9.0.4",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"eslint-plugin-perfectionist": "^5.8.0",
|
"eslint-plugin-perfectionist": "^5.8.0",
|
||||||
|
|
@ -21,7 +23,7 @@
|
||||||
"typescript": "^6.0.2"
|
"typescript": "^6.0.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint-plugin-astro": "^1.6.0",
|
"eslint-plugin-astro": "^1.7.0",
|
||||||
"eslint-plugin-functional": "^9.0.4",
|
"eslint-plugin-functional": "^9.0.4",
|
||||||
"eslint-plugin-jsx-a11y": "^6.10.2",
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
||||||
"eslint-plugin-perfectionist": "^5.8.0",
|
"eslint-plugin-perfectionist": "^5.8.0",
|
||||||
|
|
@ -29,17 +31,22 @@
|
||||||
"oxlint": "^1.59.0",
|
"oxlint": "^1.59.0",
|
||||||
"oxlint-tsgolint": "^0.20.0"
|
"oxlint-tsgolint": "^0.20.0"
|
||||||
},
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"eslint-plugin-astro": "^1.6.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@arethetypeswrong/core": "^0.18.2",
|
"@arethetypeswrong/core": "^0.18.2",
|
||||||
"@gcch/configuration-eslint": "git+https://git.gcch.fr/gcch/configuration-eslint#c0620280e6",
|
"@gcch/configuration-eslint": "git+https://git.gcch.fr/gcch/configuration-eslint#c0620280e6",
|
||||||
"@gcch/configuration-prettier": "git+https://git.gcch.fr/gcch/configuration-prettier#91d4573bff",
|
"@gcch/configuration-prettier": "git+https://git.gcch.fr/gcch/configuration-prettier#91d4573bff",
|
||||||
"@types/bun": "^1.3.11",
|
"@types/bun": "^1.3.12",
|
||||||
"@types/node": "^25.5.2",
|
"@types/node": "^25.6.0",
|
||||||
"knip": "^6.3.0",
|
"knip": "^6.4.0",
|
||||||
"prettier": "^3.8.1",
|
"prettier": "^3.8.2",
|
||||||
"publint": "^0.3.18",
|
"publint": "^0.3.18",
|
||||||
"tsdown": "^0.21.7",
|
"tsdown": "^0.21.7",
|
||||||
"typescript": "^6.0.2"
|
"typescript": "^6.0.2"
|
||||||
},
|
},
|
||||||
"trustedDependencies": ["oxc-resolver"]
|
"trustedDependencies": [
|
||||||
|
"oxc-resolver"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -301,6 +301,14 @@ const esLintRules: DummyRuleMap = {
|
||||||
variables: true,
|
variables: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
/**
|
||||||
|
* Flags assignments where the newly assigned value is never read afterward (a "dead store"). This helps catch wasted
|
||||||
|
* work or accidental mistakes.
|
||||||
|
*
|
||||||
|
* Dead stores add noise and can hide real bugs (e.g., you meant to use that value or wrote to the wrong variable).
|
||||||
|
* Removing them improves clarity and performance.
|
||||||
|
*/
|
||||||
|
"eslint/no-useless-assignment": "deny",
|
||||||
"eslint/no-useless-backreference": "deny",
|
"eslint/no-useless-backreference": "deny",
|
||||||
"eslint/no-useless-call": "deny",
|
"eslint/no-useless-call": "deny",
|
||||||
"eslint/no-useless-catch": "deny",
|
"eslint/no-useless-catch": "deny",
|
||||||
|
|
|
||||||
180
rules/unicorn.ts
180
rules/unicorn.ts
|
|
@ -40,7 +40,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Disallow functions that are declared in a scope which does not capture any variables from the outer scope.
|
* Disallow functions that are declared in a scope which does not capture any variables from the outer scope.
|
||||||
*
|
*
|
||||||
* Moving function declarations to the highest possible scope improves readability, directly improves performance and allows JavaScript engines to better optimize your performance.
|
* Moving function declarations to the highest possible scope improves readability, directly improves performance and
|
||||||
|
* allows JavaScript engines to better optimize your performance.
|
||||||
*/
|
*/
|
||||||
"unicorn/consistent-function-scoping": [
|
"unicorn/consistent-function-scoping": [
|
||||||
"deny",
|
"deny",
|
||||||
|
|
@ -109,7 +110,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Disallow recursive access to `this` within getters and setters.
|
* Disallow recursive access to `this` within getters and setters.
|
||||||
*
|
*
|
||||||
* This rule prevents recursive access to `this` within getter and setter methods in objects and classes, avoiding infinite recursion and stack overflow errors.
|
* This rule prevents recursive access to `this` within getter and setter methods in objects and classes, avoiding
|
||||||
|
* infinite recursion and stack overflow errors.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-accessor-recursion": "deny",
|
"unicorn/no-accessor-recursion": "deny",
|
||||||
/** Disallows anonymous functions and classes as default exports. */
|
/** Disallows anonymous functions and classes as default exports. */
|
||||||
|
|
@ -150,24 +152,32 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Prefer using `Array#toReversed()` over `Array#reverse()`.
|
* Prefer using `Array#toReversed()` over `Array#reverse()`.
|
||||||
*
|
*
|
||||||
* `Array#reverse()` modifies the original array in place, which can lead to unintended side effects—especially when the original array is used elsewhere in the code.
|
* `Array#reverse()` modifies the original array in place, which can lead to unintended side effects—especially when
|
||||||
|
* the original array is used elsewhere in the code.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-array-reverse": [
|
"unicorn/no-array-reverse": [
|
||||||
"deny",
|
"deny",
|
||||||
{
|
{
|
||||||
/** This rule allows `array.reverse()` as an expression statement by default. Set to `false` to forbid `Array#reverse()` even if it's an expression statement. */
|
/**
|
||||||
|
* This rule allows `array.reverse()` as an expression statement by default. Set to `false` to forbid
|
||||||
|
* `Array#reverse()` even if it's an expression statement.
|
||||||
|
*/
|
||||||
allowExpressionStatement: false,
|
allowExpressionStatement: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
/**
|
/**
|
||||||
* Prefer using `Array#toSorted()` over `Array#sort()`.
|
* Prefer using `Array#toSorted()` over `Array#sort()`.
|
||||||
*
|
*
|
||||||
* `Array#sort()` modifies the original array in place, which can lead to unintended side effects—especially when the original array is used elsewhere in the code.
|
* `Array#sort()` modifies the original array in place, which can lead to unintended side effects—especially when the
|
||||||
|
* original array is used elsewhere in the code.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-array-sort": [
|
"unicorn/no-array-sort": [
|
||||||
"deny",
|
"deny",
|
||||||
{
|
{
|
||||||
/** When set to `true` (default), allows `array.sort()` as an expression statement. Set to `false` to forbid `Array#sort()` even if it's an expression statement. */
|
/**
|
||||||
|
* When set to `true` (default), allows `array.sort()` as an expression statement. Set to `false` to forbid
|
||||||
|
* `Array#sort()` even if it's an expression statement.
|
||||||
|
*/
|
||||||
allowExpressionStatement: false,
|
allowExpressionStatement: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
@ -190,7 +200,6 @@ const unicornRules: DummyRuleMap = {
|
||||||
/** Disallows direct use of [`document.cookie`](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie). */
|
/** Disallows direct use of [`document.cookie`](https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie). */
|
||||||
"unicorn/no-document-cookie": "deny",
|
"unicorn/no-document-cookie": "deny",
|
||||||
/** Disallows files that do not contain any meaningful code. */
|
/** Disallows files that do not contain any meaningful code. */
|
||||||
/** Disallows files that do not contain any meaningful code. */
|
|
||||||
"unicorn/no-empty-file": "deny",
|
"unicorn/no-empty-file": "deny",
|
||||||
/** Enforces a convention of using Unicode escapes instead of hexadecimal escapes for consistency and clarity. */
|
/** Enforces a convention of using Unicode escapes instead of hexadecimal escapes for consistency and clarity. */
|
||||||
"unicorn/no-hex-escape": "deny",
|
"unicorn/no-hex-escape": "deny",
|
||||||
|
|
@ -201,28 +210,34 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Disallows the use of `instanceof` with ECMAScript built-in constructors because:
|
* Disallows the use of `instanceof` with ECMAScript built-in constructors because:
|
||||||
*
|
*
|
||||||
* - it breaks across execution contexts (`iframe`, Web Worker, Node VM, etc.);
|
* - It breaks across execution contexts (`iframe`, Web Worker, Node VM, etc.);
|
||||||
* - it is often misleading (e.g. `instanceof Array` fails for a subclass);
|
* - It is often misleading (e.g. `instanceof Array` fails for a subclass);
|
||||||
* - there is always a clearer and safer alternative `(Array.isArray`, `typeof`, `Buffer.isBuffer`, …).
|
* - There is always a clearer and safer alternative `(Array.isArray`, `typeof`, `Buffer.isBuffer`, …).
|
||||||
*
|
*
|
||||||
* `instanceof` breaks across execution contexts (`iframe`, Web Worker, Node `vm`), and may give misleading results for subclasses or exotic objects.
|
* `instanceof` breaks across execution contexts (`iframe`, Web Worker, Node `vm`), and may give misleading results
|
||||||
|
* for subclasses or exotic objects.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-instanceof-builtins": [
|
"unicorn/no-instanceof-builtins": [
|
||||||
"deny",
|
"deny",
|
||||||
{
|
{
|
||||||
/** Constructor names to exclude from checking. */
|
/** Constructor names to exclude from checking. */
|
||||||
exlude: [],
|
exlude: [],
|
||||||
/** Additional constructor names to check beyond the default set. Use this to extend the rule with additional constructors. */
|
/**
|
||||||
|
* Additional constructor names to check beyond the default set. Use this to extend the rule with additional
|
||||||
|
* constructors.
|
||||||
|
*/
|
||||||
include: [],
|
include: [],
|
||||||
/**
|
/**
|
||||||
* Controls which built-in constructors are checked.
|
* Controls which built-in constructors are checked.
|
||||||
*
|
*
|
||||||
* - `"loose"` (default): Only checks `Array`, `Function`, `Error` (if `useErrorIsError` is `true`), and primitive wrappers;
|
* - `"loose"` (default): Only checks `Array`, `Function`, `Error` (if `useErrorIsError` is `true`), and primitive
|
||||||
* - `"strict"`: Additionally checks `Error` types, collections, typed arrays, and other built-in constructors.
|
* wrappers;
|
||||||
|
* - `"strict"`: Additionally checks `Error` types, collections, typed arrays, and other built-in constructors.
|
||||||
*/
|
*/
|
||||||
strategy: "strict",
|
strategy: "strict",
|
||||||
/**
|
/**
|
||||||
* When `true`, checks `instanceof Error` and suggests using `Error.isError()` instead. Requires the `Error.isError()` function to be available.
|
* When `true`, checks `instanceof Error` and suggests using `Error.isError()` instead. Requires the
|
||||||
|
* `Error.isError()` function to be available.
|
||||||
*/
|
*/
|
||||||
useErrorIsError: true,
|
useErrorIsError: true,
|
||||||
},
|
},
|
||||||
|
|
@ -333,8 +348,22 @@ const unicornRules: DummyRuleMap = {
|
||||||
* the `Error` constructor calls it automatically.
|
* the `Error` constructor calls it automatically.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-useless-error-capture-stack-trace": "deny",
|
"unicorn/no-useless-error-capture-stack-trace": "deny",
|
||||||
/** Disallow useless fallback when spreading in object litterals. */
|
/** Disallow useless fallback when spreading in object literals. */
|
||||||
"unicorn/no-useless-fallback-in-spread": "deny",
|
"unicorn/no-useless-fallback-in-spread": "deny",
|
||||||
|
/**
|
||||||
|
* Disallow unnecessary `.toArray()` on iterators.
|
||||||
|
*
|
||||||
|
* `Iterator.prototype.toArray()` converts an iterator to an array. However, this conversion is unnecessary in many
|
||||||
|
* cases.
|
||||||
|
*
|
||||||
|
* Array callbacks receive additional arguments (for example, the 3rd array argument) that Iterator callbacks do not.
|
||||||
|
* Removing `.toArray()` can change behavior if callbacks depend on those extra arguments, so those cases are reported
|
||||||
|
* as suggestions.
|
||||||
|
*
|
||||||
|
* This rule does not flag `.filter()`, `.map()`, or `.flatMap()` because their Iterator versions return iterators,
|
||||||
|
* not arrays, so the semantics differ.
|
||||||
|
*/
|
||||||
|
"unicorn/no-useless-iterator-to-array": "deny",
|
||||||
/** It checks for an unnecessary array length check in a logical expression. */
|
/** It checks for an unnecessary array length check in a logical expression. */
|
||||||
"unicorn/no-useless-length-check": "deny",
|
"unicorn/no-useless-length-check": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -350,10 +379,10 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Disallows using spread syntax in following, unnecessary cases:
|
* Disallows using spread syntax in following, unnecessary cases:
|
||||||
*
|
*
|
||||||
* - Spread an array literal as elements of an array literal
|
* - Spread an array literal as elements of an array literal.
|
||||||
* - Spread an array literal as arguments of a call or a new call
|
* - Spread an array literal as arguments of a call or a new call.
|
||||||
* - Spread an object literal as properties of an object literal
|
* - Spread an object literal as properties of an object literal.
|
||||||
* - Use spread syntax to clone an array created inline
|
* - Use spread syntax to clone an array created inline.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-useless-spread": "deny",
|
"unicorn/no-useless-spread": "deny",
|
||||||
/** Disallows useless `default` cases in `switch` statements. */
|
/** Disallows useless `default` cases in `switch` statements. */
|
||||||
|
|
@ -363,19 +392,21 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Prevents the use of zero fractions.
|
* Prevents the use of zero fractions.
|
||||||
*
|
*
|
||||||
* There is no difference in JavaScript between, for example, `1,` `1.0` and `1.`, so prefer the former for consistency and brevity.
|
* There is no difference in JavaScript between, for example, `1,` `1.0` and `1.`, so prefer the former for
|
||||||
|
* consistency and brevity.
|
||||||
*/
|
*/
|
||||||
"unicorn/no-zero-fractions": "deny",
|
"unicorn/no-zero-fractions": "deny",
|
||||||
/**
|
/**
|
||||||
* This rule enforces proper case for numeric literals.
|
* This rule enforces proper case for numeric literals.
|
||||||
*
|
*
|
||||||
* When both an identifier and a numeric literal are in lower case, it can be hard to differentiate between them.
|
* When both an identifier and a numeric literal are in lowercase, it can be hard to differentiate between them.
|
||||||
*/
|
*/
|
||||||
"unicorn/number-literal-case": "deny",
|
"unicorn/number-literal-case": "deny",
|
||||||
/**
|
/**
|
||||||
* Enforces a convention of grouping digits using numeric separators.
|
* Enforces a convention of grouping digits using numeric separators.
|
||||||
*
|
*
|
||||||
* A long series of digits can be difficult to read, and it can be difficult to determine the value of the number at a glance. Breaking up the digits with numeric separators (`_`) can greatly improve readability.
|
* A long series of digits can be difficult to read, and it can be difficult to determine the value of the number at a
|
||||||
|
* glance. Breaking up the digits with numeric separators (`_`) can greatly improve readability.
|
||||||
*/
|
*/
|
||||||
"unicorn/numeric-separators-style": [
|
"unicorn/numeric-separators-style": [
|
||||||
"deny",
|
"deny",
|
||||||
|
|
@ -402,9 +433,11 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Enforces the use of `.addEventListener()` and `.removeEventListener()` over their on-function counterparts.
|
* Enforces the use of `.addEventListener()` and `.removeEventListener()` over their on-function counterparts.
|
||||||
*
|
*
|
||||||
* For example, `foo.addEventListener('click', handler);` is preferred over `foo.onclick = handler;` for HTML DOM Events.
|
* For example, `foo.addEventListener('click', handler);` is preferred over `foo.onclick = handler;` for HTML DOM
|
||||||
|
* Events.
|
||||||
*
|
*
|
||||||
* There are numerous advantages of using `addEventListener`. Some of these advantages include registering unlimited event handlers and optionally having the event handler invoked only once.
|
* There are numerous advantages of using `addEventListener`. Some of these advantages include registering unlimited
|
||||||
|
* event handlers and optionally having the event handler invoked only once.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-add-event-listener": "deny",
|
"unicorn/prefer-add-event-listener": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -417,9 +450,11 @@ const unicornRules: DummyRuleMap = {
|
||||||
/** Prefers the use of `.flatMap()` when `map().flat()` are used together. */
|
/** Prefers the use of `.flatMap()` when `map().flat()` are used together. */
|
||||||
"unicorn/prefer-array-flat-map": "deny",
|
"unicorn/prefer-array-flat-map": "deny",
|
||||||
/**
|
/**
|
||||||
* Enforces using `indexOf` or `lastIndexOf` instead of `findIndex` or `findLastIndex` when the callback is a simple strict equality comparison.
|
* Enforces using `indexOf` or `lastIndexOf` instead of `findIndex` or `findLastIndex` when the callback is a simple
|
||||||
|
* strict equality comparison.
|
||||||
*
|
*
|
||||||
* Using `findIndex(x => x === value)` is unnecessarily verbose when `indexOf(value)` accomplishes the same thing more concisely and clearly. It also avoids the overhead of creating a callback function.
|
* Using `findIndex(x => x === value)` is unnecessarily verbose when `indexOf(value)` accomplishes the same thing more
|
||||||
|
* concisely and clearly. It also avoids the overhead of creating a callback function.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-array-index-of": "deny",
|
"unicorn/prefer-array-index-of": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -448,7 +483,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
/**
|
/**
|
||||||
* Requires using `BigInt` literals (e.g. `123n`) instead of calling the `BigInt()` constructor with literal arguments such as numbers or numeric strings.
|
* Requires using `BigInt` literals (e.g. `123n`) instead of calling the `BigInt()` constructor with literal arguments
|
||||||
|
* such as numbers or numeric strings.
|
||||||
*
|
*
|
||||||
* Using `BigInt(…)` with literal values is unnecessarily verbose and less idiomatic than using a `BigInt` literal.
|
* Using `BigInt(…)` with literal values is unnecessarily verbose and less idiomatic than using a `BigInt` literal.
|
||||||
*/
|
*/
|
||||||
|
|
@ -461,13 +497,15 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Prefers class field declarations over `this` assignments in constructors for static values.
|
* Prefers class field declarations over `this` assignments in constructors for static values.
|
||||||
*
|
*
|
||||||
* Class field declarations are more readable and less error-prone than assigning static values to `this` in the constructor. Using class fields keeps the constructor cleaner and makes the intent clearer.
|
* Class field declarations are more readable and less error-prone than assigning static values to `this` in the
|
||||||
|
* constructor. Using class fields keeps the constructor cleaner and makes the intent clearer.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-class-fields": "deny",
|
"unicorn/prefer-class-fields": "deny",
|
||||||
/**
|
/**
|
||||||
* Prefers the use of `element.classList.toggle(className, condition)` over conditional add/remove patterns.
|
* Prefers the use of `element.classList.toggle(className, condition)` over conditional add/remove patterns.
|
||||||
*
|
*
|
||||||
* The `toggle()` method is more concise and expressive than using conditional logic to switch between `add()` and `remove()`.
|
* The `toggle()` method is more concise and expressive than using conditional logic to switch between `add()` and
|
||||||
|
* `remove()`.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-classlist-toggle": "deny",
|
"unicorn/prefer-classlist-toggle": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -478,11 +516,16 @@ const unicornRules: DummyRuleMap = {
|
||||||
/** Prefers use of `Date.now()` over new `Date().getTime()` or new `Date().valueOf()`. */
|
/** Prefers use of `Date.now()` over new `Date().getTime()` or new `Date().valueOf()`. */
|
||||||
"unicorn/prefer-date-now": "deny",
|
"unicorn/prefer-date-now": "deny",
|
||||||
/**
|
/**
|
||||||
* Instead of reassigning a function parameter, default parameters should be used. The `foo = foo || 123` statement evaluates to `123` when `foo` is falsy, possibly leading to confusing behavior, whereas default parameters only apply when passed an `undefined` value. This rule only reports reassignments to literal values.
|
* Instead of reassigning a function parameter, default parameters should be used. The `foo = foo || 123` statement
|
||||||
|
* evaluates to `123` when `foo` is falsy, possibly leading to confusing behavior, whereas default parameters only
|
||||||
|
* apply when passed an `undefined` value. This rule only reports reassignments to literal values.
|
||||||
*
|
*
|
||||||
*You should disable this rule if you want your functions to deal with `null` and other falsy values the same way as `undefined`. Default parameters are exclusively applied when undefined is received.. However, we recommend moving away from null.
|
* You should disable this rule if you want your functions to deal with `null` and other falsy values the same way as
|
||||||
|
* `undefined`. Default parameters are exclusively applied when undefined is received.. However, we recommend moving
|
||||||
|
* away from null.
|
||||||
*
|
*
|
||||||
* Using default parameters makes it clear that a parameter has a default value, improving code readability and maintainability.
|
* Using default parameters makes it clear that a parameter has a default value, improving code readability and
|
||||||
|
* maintainability.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-default-parameters": "deny",
|
"unicorn/prefer-default-parameters": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -502,9 +545,9 @@ const unicornRules: DummyRuleMap = {
|
||||||
*
|
*
|
||||||
* There are some disadvantages of using `.innerText`.
|
* There are some disadvantages of using `.innerText`.
|
||||||
*
|
*
|
||||||
* - `.innerText` is much more performance-heavy as it requires layout information to return the result.
|
* - `.innerText` is much more performance-heavy as it requires layout information to return the result.
|
||||||
* - `.innerText` is defined only for `HTMLElement` objects, while `.textContent` is defined for all `Node` objects.
|
* - `.innerText` is defined only for `HTMLElement` objects, while `.textContent` is defined for all `Node` objects.
|
||||||
* - `.innerText` is not standard, for example, it is not present in Firefox.
|
* - `.innerText` is not standard, for example, it is not present in Firefox.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-dom-node-text-content": "deny",
|
"unicorn/prefer-dom-node-text-content": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -514,17 +557,31 @@ const unicornRules: DummyRuleMap = {
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-event-target": "deny",
|
"unicorn/prefer-event-target": "deny",
|
||||||
/**
|
/**
|
||||||
* Enforces the use of `globalThis` instead of environment‑specific global object aliases `(window,` `self,` or `global`).
|
* Enforces the use of `globalThis` instead of environment‑specific global object aliases `(window,` `self,` or
|
||||||
|
* `global`).
|
||||||
*
|
*
|
||||||
* Using the standard `globalThis` makes your code portable across browsers, Web Workers, Node.js, and future JavaScript runtimes.
|
* Using the standard `globalThis` makes your code portable across browsers, Web Workers, Node.js, and future
|
||||||
|
* JavaScript runtimes.
|
||||||
*
|
*
|
||||||
* `window` is only defined in browser main threads, `self` is used in Web Workers, and `global` is Node‑specific. Choosing the wrong alias causes runtime crashes when the code is executed outside of its original environment.
|
* `window` is only defined in browser main threads, `self` is used in Web Workers, and `global` is Node‑specific.
|
||||||
|
* Choosing the wrong alias causes runtime crashes when the code is executed outside of its original environment.
|
||||||
*
|
*
|
||||||
* `globalThis` clearly communicates that you are referring to the global object itself rather than a particular platform.
|
* `globalThis` clearly communicates that you are referring to the global object itself rather than a particular
|
||||||
|
* platform.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-global-this": "deny",
|
"unicorn/prefer-global-this": "deny",
|
||||||
/**
|
/**
|
||||||
* Prefer `includes()` over `indexOf()` when checking for existence or non-existence. All built-ins have `.includes()` in addition to `.indexOf()`.
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
||||||
|
*
|
||||||
|
* Starting with Node.js 20.11, `import.meta.dirname` and `import.meta.filename` have been introduced in ES modules.
|
||||||
|
* `import.meta.filename` is equivalent to `url.fileURLToPath(import.meta.url)`. `import.meta.dirname` is equivalent
|
||||||
|
* to `path.dirname(import.meta.filename).` This rule replaces legacy patterns with `import.meta.dirname` and
|
||||||
|
* `import.meta.filename`.
|
||||||
|
*/
|
||||||
|
"unicorn/prefer-import-meta-properties": "deny",
|
||||||
|
/**
|
||||||
|
* Prefer `includes()` over `indexOf()` when checking for existence or non-existence. All built-ins have `.includes()`
|
||||||
|
* in addition to `.indexOf()`.
|
||||||
*
|
*
|
||||||
* The `.includes()` method is more readable and less error-prone than `.indexOf()`.
|
* The `.includes()` method is more readable and less error-prone than `.indexOf()`.
|
||||||
*/
|
*/
|
||||||
|
|
@ -532,9 +589,10 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Enforces the use of `KeyboardEvent#key` over `KeyboardEvent#keyCode`, which is deprecated.
|
* Enforces the use of `KeyboardEvent#key` over `KeyboardEvent#keyCode`, which is deprecated.
|
||||||
*
|
*
|
||||||
*The `.key` property is also more semantic and readable.
|
* The `.key` property is also more semantic and readable.
|
||||||
*
|
*
|
||||||
* The `keyCode,` `which`, and `charCode` properties are deprecated and should be avoided in favor of the `key` property.
|
* The `keyCode,` `which`, and `charCode` properties are deprecated and should be avoided in favor of the `key`
|
||||||
|
* property.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-keyboard-event-key": "deny",
|
"unicorn/prefer-keyboard-event-key": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -574,7 +632,7 @@ const unicornRules: DummyRuleMap = {
|
||||||
* migrate and can block ESM-only features.
|
* migrate and can block ESM-only features.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-module": "deny",
|
"unicorn/prefer-module": "deny",
|
||||||
/** Prefers built in functions, over custom ones with the same functionality. */
|
/** Prefers built-in functions, over custom ones with the same functionality. */
|
||||||
"unicorn/prefer-native-coercion-functions": "deny",
|
"unicorn/prefer-native-coercion-functions": "deny",
|
||||||
/**
|
/**
|
||||||
* Prefer using a negative index over `.length - index` when possible.
|
* Prefer using a negative index over `.length - index` when possible.
|
||||||
|
|
@ -614,7 +672,9 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Encourages using `Object.fromEntries` when converting an array of key-value pairs into an object.
|
* Encourages using `Object.fromEntries` when converting an array of key-value pairs into an object.
|
||||||
*
|
*
|
||||||
* Manually constructing objects from key-value pairs using `reduce` or `forEach` is more verbose, error-prone, and harder to understand. The `Object.fromEntries` method is clearer, more declarative, and built for exactly this purpose.
|
* Manually constructing objects from key-value pairs using `reduce` or `forEach` is more verbose, error-prone, and
|
||||||
|
* harder to understand. The `Object.fromEntries` method is clearer, more declarative, and built for exactly this
|
||||||
|
* purpose.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-object-from-entries": "deny",
|
"unicorn/prefer-object-from-entries": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -636,7 +696,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Disallows the use of `Function.prototype.apply()` and suggests using `Reflect.apply()` instead.
|
* Disallows the use of `Function.prototype.apply()` and suggests using `Reflect.apply()` instead.
|
||||||
*
|
*
|
||||||
* `Reflect.apply()` is arguably less verbose and easier to understand. In addition, when you accept arbitrary methods, it's not safe to assume `.apply()` exists or is not overridden.
|
* `Reflect.apply()` is arguably less verbose and easier to understand. In addition, when you accept arbitrary
|
||||||
|
* methods, it's not safe to assume `.apply()` exists or is not overridden.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-reflect-apply": "deny",
|
"unicorn/prefer-reflect-apply": "deny",
|
||||||
/** Prefers `RegExp#test()` over `String#match()` and `String#exec()`. */
|
/** Prefers `RegExp#test()` over `String#match()` and `String#exec()`. */
|
||||||
|
|
@ -644,7 +705,9 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Enforces the use of `Response.json()` over `new Response(JSON.stringify())`.
|
* Enforces the use of `Response.json()` over `new Response(JSON.stringify())`.
|
||||||
*
|
*
|
||||||
* `Response.json()` is a more concise and semantically clear way to create JSON responses. It automatically sets the correct `Content-Type` header (`application/json`) and handles serialization, making the code more maintainable and less error-prone.
|
* `Response.json()` is a more concise and semantically clear way to create JSON responses. It automatically sets the
|
||||||
|
* correct `Content-Type` header (`application/json`) and handles serialization, making the code more maintainable and
|
||||||
|
* less error-prone.
|
||||||
*/
|
*/
|
||||||
"unicorn/prefer-response-static-json": "deny",
|
"unicorn/prefer-response-static-json": "deny",
|
||||||
/** Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence. */
|
/** Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence. */
|
||||||
|
|
@ -670,7 +733,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
/** Prefer `String#startsWith()` and `String#endsWith()` over using a regex with `/^foo/` or `/foo$/`. */
|
/** Prefer `String#startsWith()` and `String#endsWith()` over using a regex with `/^foo/` or `/foo$/`. */
|
||||||
"unicorn/prefer-string-starts-ends-with": "deny",
|
"unicorn/prefer-string-starts-ends-with": "deny",
|
||||||
/**
|
/**
|
||||||
* `String#trimLeft()` and `String#trimRight()` are aliases of `String#trimStart()` and `String#trimEnd()`. This is to ensure consistency and use direction-independent wording.
|
* `String#trimLeft()` and `String#trimRight()` are aliases of `String#trimStart()` and `String#trimEnd()`. This is to
|
||||||
|
* ensure consistency and use direction-independent wording.
|
||||||
*
|
*
|
||||||
* The `trimLeft` and `trimRight` names are confusing and inconsistent with the rest of the language.
|
* The `trimLeft` and `trimRight` names are confusing and inconsistent with the rest of the language.
|
||||||
*/
|
*/
|
||||||
|
|
@ -706,7 +770,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Enforce using the separator argument with `Array#join()`.
|
* Enforce using the separator argument with `Array#join()`.
|
||||||
*
|
*
|
||||||
* It's better to make it clear what the separator is when calling `Array#join()`, instead of relying on the default comma (`','`) separator.
|
* It's better to make it clear what the separator is when calling `Array#join()`, instead of relying on the default
|
||||||
|
* comma (`','`) separator.
|
||||||
*/
|
*/
|
||||||
"unicorn/require-array-join-separator": "deny",
|
"unicorn/require-array-join-separator": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -719,7 +784,8 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Enforce non-empty specifier list in `import` and `export` statements.
|
* Enforce non-empty specifier list in `import` and `export` statements.
|
||||||
*
|
*
|
||||||
* Empty `import`/`export` specifiers add no value and can be confusing. If you want to import a module for side effects, use `import 'module'` instead.
|
* Empty `import`/`export` specifiers add no value and can be confusing. If you want to import a module for side
|
||||||
|
* effects, use `import 'module'` instead.
|
||||||
*/
|
*/
|
||||||
"unicorn/require-module-specifiers": "deny",
|
"unicorn/require-module-specifiers": "deny",
|
||||||
/** Enforce using the digits argument with `Number#toFixed()`. */
|
/** Enforce using the digits argument with `Number#toFixed()`. */
|
||||||
|
|
@ -727,9 +793,13 @@ const unicornRules: DummyRuleMap = {
|
||||||
/**
|
/**
|
||||||
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
||||||
*
|
*
|
||||||
* Note that this rule may have false positives, as it is not capable of detecting all cases correctly without type information. As such, it may not be a good idea to enable in cases where `postMessage()` may be used with `BroadcastChannel` or worker/service worker contexts (for example, `WorkerGlobalScope#postMessage`, where the second argument is a transfer list or options object, not `targetOrigin`).
|
* Note that this rule may have false positives, as it is not capable of detecting all cases correctly without type
|
||||||
|
* information. As such, it may not be a good idea to enable in cases where `postMessage()` may be used with
|
||||||
|
* `BroadcastChannel` or worker/service worker contexts (for example, `WorkerGlobalScope#postMessage`, where the
|
||||||
|
* second argument is a transfer list or options object, not `targetOrigin`).
|
||||||
*
|
*
|
||||||
* When calling `window.postMessage()` without the `targetOrigin` argument, the message cannot be received by any window.
|
* When calling `window.postMessage()` without the `targetOrigin` argument, the message cannot be received by any
|
||||||
|
* window.
|
||||||
*/
|
*/
|
||||||
"unicorn/require-post-message-target-origin": "deny",
|
"unicorn/require-post-message-target-origin": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
@ -745,9 +815,11 @@ const unicornRules: DummyRuleMap = {
|
||||||
"avoid",
|
"avoid",
|
||||||
],
|
],
|
||||||
/**
|
/**
|
||||||
* Enforce consistent `break`/`return`/`continue`/`throw` position in case clauses.
|
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
||||||
*
|
*
|
||||||
* Enforce that terminating statements (`break`, `return`, `continue`, `throw`) appear inside the block statement of a `case` clause, not after it. This can happen when refactoring — for example, removing an `if` wrapper but leaving the `break` outside the braces.
|
* Enforce that terminating statements (`break`, `return`, `continue`, `throw`) appear inside the block statement of a
|
||||||
|
* `case` clause, not after it. This can happen when refactoring — for example, removing an if wrapper but leaving the
|
||||||
|
* `break` outside the braces.
|
||||||
*/
|
*/
|
||||||
"unicorn/switch-case-break-position": "deny",
|
"unicorn/switch-case-break-position": "deny",
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,9 @@
|
||||||
"exactOptionalPropertyTypes": true,
|
"exactOptionalPropertyTypes": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"lib": ["ESNext"],
|
"lib": [
|
||||||
|
"ESNext"
|
||||||
|
],
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleDetection": "force",
|
"moduleDetection": "force",
|
||||||
"moduleResolution": "Bundler",
|
"moduleResolution": "Bundler",
|
||||||
|
|
@ -37,11 +39,21 @@
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"strictPropertyInitialization": true,
|
"strictPropertyInitialization": true,
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"types": ["bun", "node"],
|
"types": [
|
||||||
|
"bun",
|
||||||
|
"node"
|
||||||
|
],
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
"useUnknownInCatchVariables": true,
|
"useUnknownInCatchVariables": true,
|
||||||
"verbatimModuleSyntax": true
|
"verbatimModuleSyntax": true
|
||||||
},
|
},
|
||||||
"exclude": ["dist"],
|
"exclude": [
|
||||||
"include": ["**/*.js", "**/*.ts", "**/*.astro", "**/*.tsx"]
|
"dist"
|
||||||
|
],
|
||||||
|
"include": [
|
||||||
|
"**/*.astro",
|
||||||
|
"**/*.js",
|
||||||
|
"**/*.ts",
|
||||||
|
"**/*.tsx"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue