0.0.8
This commit is contained in:
parent
b73bd41af9
commit
8a36d0af43
4 changed files with 51 additions and 23 deletions
32
bun.lock
32
bun.lock
|
|
@ -4,10 +4,10 @@
|
|||
"": {
|
||||
"name": "@gcch/configuration-eslint",
|
||||
"dependencies": {
|
||||
"@eslint/js": "^9.36.0",
|
||||
"eslint": "^9.36.0",
|
||||
"@eslint/js": "^9.37.0",
|
||||
"eslint": "^9.37.0",
|
||||
"eslint-plugin-functional": "^9.0.2",
|
||||
"eslint-plugin-jsdoc": "^60.7.1",
|
||||
"eslint-plugin-jsdoc": "^60.8.0",
|
||||
"eslint-plugin-perfectionist": "^4.15.0",
|
||||
"eslint-plugin-sonarjs": "^3.0.5",
|
||||
"eslint-plugin-unicorn": "^61.0.2",
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
|
||||
"@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.1.0", "http://localhost:4873/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ=="],
|
||||
|
||||
"@es-joy/jsdoccomment": ["@es-joy/jsdoccomment@0.65.2", "http://localhost:4873/@es-joy/jsdoccomment/-/jsdoccomment-0.65.2.tgz", { "dependencies": { "@types/estree": "^1.0.8", "@typescript-eslint/types": "^8.45.0", "comment-parser": "1.4.1", "esquery": "^1.6.0", "jsdoc-type-pratt-parser": "~6.1.2" } }, "sha512-/rrj5oayCc7xdoQZ24Tz/+V41IDm+9ILYpTFJOZgav9vfncMNApKR0t/4d1oRXYTcyLZEcGHGOg4xBsD0Doing=="],
|
||||
"@es-joy/jsdoccomment": ["@es-joy/jsdoccomment@0.67.3", "http://localhost:4873/@es-joy/jsdoccomment/-/jsdoccomment-0.67.3.tgz", { "dependencies": { "@types/estree": "^1.0.8", "@typescript-eslint/types": "^8.45.0", "comment-parser": "1.4.1", "esquery": "^1.6.0", "jsdoc-type-pratt-parser": "6.3.3" } }, "sha512-EJJt2TyxPYP92TKxnka3XIgPC17KKhj7EME5QVa8ySOseueh3cBUcII7jYaawl5io4tEpKnZIPmFr1wK2jqYmw=="],
|
||||
|
||||
"@eslint-community/eslint-utils": ["@eslint-community/eslint-utils@4.9.0", "http://localhost:4873/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz", { "dependencies": { "eslint-visitor-keys": "^3.4.3" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g=="],
|
||||
|
||||
|
|
@ -74,21 +74,21 @@
|
|||
|
||||
"@eslint/config-array": ["@eslint/config-array@0.21.0", "http://localhost:4873/@eslint/config-array/-/config-array-0.21.0.tgz", { "dependencies": { "@eslint/object-schema": "^2.1.6", "debug": "^4.3.1", "minimatch": "^3.1.2" } }, "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ=="],
|
||||
|
||||
"@eslint/config-helpers": ["@eslint/config-helpers@0.3.1", "http://localhost:4873/@eslint/config-helpers/-/config-helpers-0.3.1.tgz", {}, "sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA=="],
|
||||
"@eslint/config-helpers": ["@eslint/config-helpers@0.4.0", "http://localhost:4873/@eslint/config-helpers/-/config-helpers-0.4.0.tgz", { "dependencies": { "@eslint/core": "^0.16.0" } }, "sha512-WUFvV4WoIwW8Bv0KeKCIIEgdSiFOsulyN0xrMu+7z43q/hkOLXjvb5u7UC9jDxvRzcrbEmuZBX5yJZz1741jog=="],
|
||||
|
||||
"@eslint/core": ["@eslint/core@0.15.2", "http://localhost:4873/@eslint/core/-/core-0.15.2.tgz", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg=="],
|
||||
"@eslint/core": ["@eslint/core@0.16.0", "http://localhost:4873/@eslint/core/-/core-0.16.0.tgz", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-nmC8/totwobIiFcGkDza3GIKfAw1+hLiYVrh3I1nIomQ8PEr5cxg34jnkmGawul/ep52wGRAcyeDCNtWKSOj4Q=="],
|
||||
|
||||
"@eslint/eslintrc": ["@eslint/eslintrc@3.3.1", "http://localhost:4873/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", { "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", "minimatch": "^3.1.2", "strip-json-comments": "^3.1.1" } }, "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ=="],
|
||||
|
||||
"@eslint/js": ["@eslint/js@9.36.0", "http://localhost:4873/@eslint/js/-/js-9.36.0.tgz", {}, "sha512-uhCbYtYynH30iZErszX78U+nR3pJU3RHGQ57NXy5QupD4SBVwDeU8TNBy+MjMngc1UyIW9noKqsRqfjQTBU2dw=="],
|
||||
"@eslint/js": ["@eslint/js@9.37.0", "http://localhost:4873/@eslint/js/-/js-9.37.0.tgz", {}, "sha512-jaS+NJ+hximswBG6pjNX0uEJZkrT0zwpVi3BA3vX22aFGjJjmgSTSmPpZCRKmoBL5VY/M6p0xsSJx7rk7sy5gg=="],
|
||||
|
||||
"@eslint/object-schema": ["@eslint/object-schema@2.1.6", "http://localhost:4873/@eslint/object-schema/-/object-schema-2.1.6.tgz", {}, "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA=="],
|
||||
|
||||
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.3.5", "http://localhost:4873/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz", { "dependencies": { "@eslint/core": "^0.15.2", "levn": "^0.4.1" } }, "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w=="],
|
||||
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.0", "http://localhost:4873/@eslint/plugin-kit/-/plugin-kit-0.4.0.tgz", { "dependencies": { "@eslint/core": "^0.16.0", "levn": "^0.4.1" } }, "sha512-sB5uyeq+dwCWyPi31B2gQlVlo+j5brPlWx4yZBrEaRo/nhdDE8Xke1gsGgtiBdaBTxuTkceLVuVt/pclrasb0A=="],
|
||||
|
||||
"@gcch/configuration-dprint": ["@gcch/configuration-dprint@0.0.2", "http://localhost:4873/@gcch/configuration-dprint/-/configuration-dprint-0.0.2.tgz", {}, "sha512-RpG+2971CgUcspspB84JwldbcwKuQ/yLEF3+NkKOHZ6Q360F+oS1GvKT1aTcKnNLvFiscx/dUy2FNZcQw1Mm5A=="],
|
||||
|
||||
"@gcch/configuration-prettier": ["@gcch/configuration-prettier@0.0.7", "http://localhost:4873/@gcch/configuration-prettier/-/configuration-prettier-0.0.7.tgz", { "dependencies": { "@prettier/plugin-php": "^0.24.0", "@prettier/plugin-xml": "^3.4.2", "prettier": "^4.0.0-alpha.12", "prettier-plugin-curly": "^0.3.2", "prettier-plugin-jsdoc": "^1.3.3", "prettier-plugin-pkg": "^0.21.2", "prettier-plugin-sh": "^0.18.0" } }, "sha512-V1edIUZociHH/6M+SQTewjjnE8KBN60oZ5Z08qe2RrILdgSZMAVCXVIBcCGZJfwdObakN5mVAabDur2J303LeA=="],
|
||||
"@gcch/configuration-prettier": ["@gcch/configuration-prettier@0.0.9", "http://localhost:4873/@gcch/configuration-prettier/-/configuration-prettier-0.0.9.tgz", { "dependencies": { "@prettier/plugin-php": "^0.24.0", "@prettier/plugin-xml": "^3.4.2", "prettier": "^4.0.0-alpha.12", "prettier-plugin-curly": "^0.3.2", "prettier-plugin-jsdoc": "^1.3.3", "prettier-plugin-pkg": "^0.21.2", "prettier-plugin-sh": "^0.18.0" } }, "sha512-B5cCNjTlCsdlzTIB8g2fXt6TMmT033xaxCh8+gHgZCd5gTbRhzosiGbfLqhe0NiO1lScmWbMLAxH/mLbrS+lYQ=="],
|
||||
|
||||
"@humanfs/core": ["@humanfs/core@0.19.1", "http://localhost:4873/@humanfs/core/-/core-0.19.1.tgz", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="],
|
||||
|
||||
|
|
@ -340,13 +340,13 @@
|
|||
|
||||
"escape-string-regexp": ["escape-string-regexp@4.0.0", "http://localhost:4873/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
|
||||
|
||||
"eslint": ["eslint@9.36.0", "http://localhost:4873/eslint/-/eslint-9.36.0.tgz", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.0", "@eslint/config-helpers": "^0.3.1", "@eslint/core": "^0.15.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.36.0", "@eslint/plugin-kit": "^0.3.5", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-hB4FIzXovouYzwzECDcUkJ4OcfOEkXTv2zRY6B9bkwjx/cprAq0uvm1nl7zvQ0/TsUk0zQiN4uPfJpB9m+rPMQ=="],
|
||||
"eslint": ["eslint@9.37.0", "http://localhost:4873/eslint/-/eslint-9.37.0.tgz", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.0", "@eslint/config-helpers": "^0.4.0", "@eslint/core": "^0.16.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.37.0", "@eslint/plugin-kit": "^0.4.0", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-XyLmROnACWqSxiGYArdef1fItQd47weqB7iwtfr9JHwRrqIXZdcFMvvEcL9xHCmL0SNsOvF0c42lWyM1U5dgig=="],
|
||||
|
||||
"eslint-plugin-functional": ["eslint-plugin-functional@9.0.2", "http://localhost:4873/eslint-plugin-functional/-/eslint-plugin-functional-9.0.2.tgz", { "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", "typescript": ">=4.7.4" }, "optionalPeers": ["typescript"] }, "sha512-N8kP9HX1CJ2HrufPHLzsKNJ81O1IB25jw2mxOc1H1z3CamEu8MYTn9dOo/FPfQwsqHZVuf7wyDCBcL8r8H7N0w=="],
|
||||
|
||||
"eslint-plugin-jsdoc": ["eslint-plugin-jsdoc@60.7.1", "http://localhost:4873/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-60.7.1.tgz", { "dependencies": { "@es-joy/jsdoccomment": "~0.65.2", "are-docs-informative": "^0.0.2", "comment-parser": "1.4.1", "debug": "^4.4.3", "escape-string-regexp": "^4.0.0", "espree": "^10.4.0", "esquery": "^1.6.0", "html-entities": "^2.6.0", "object-deep-merge": "^1.0.5", "parse-imports-exports": "^0.2.4", "semver": "^7.7.2", "spdx-expression-parse": "^4.0.0" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" } }, "sha512-JCLls7B3Tlb2YS5M6+aZqxb0gnEkr+H9/qMm5HSzynlvq3wqbxS7+4RS954EGuLrITfbaB6nmf3FyZAhOeCUEg=="],
|
||||
"eslint-plugin-jsdoc": ["eslint-plugin-jsdoc@60.8.0", "http://localhost:4873/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-60.8.0.tgz", { "dependencies": { "@es-joy/jsdoccomment": "~0.67.2", "are-docs-informative": "^0.0.2", "comment-parser": "1.4.1", "debug": "^4.4.3", "escape-string-regexp": "^4.0.0", "espree": "^10.4.0", "esquery": "^1.6.0", "html-entities": "^2.6.0", "object-deep-merge": "^1.0.5", "parse-imports-exports": "^0.2.4", "semver": "^7.7.2", "spdx-expression-parse": "^4.0.0" }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" } }, "sha512-rhN7JTbIaRHcmCdQrzDI/5750e6pIi1TKRG7VD2bzaa8K5yJqwcf8lAAKcdWiblQ+El9IEPCw5j34xOg59+I1g=="],
|
||||
|
||||
"eslint-plugin-perfectionist": ["eslint-plugin-perfectionist@4.15.0", "http://localhost:4873/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-4.15.0.tgz", { "dependencies": { "@typescript-eslint/types": "^8.34.1", "@typescript-eslint/utils": "^8.34.1", "natural-orderby": "^5.0.0" }, "peerDependencies": { "eslint": ">=8.45.0" } }, "sha512-pC7PgoXyDnEXe14xvRUhBII8A3zRgggKqJFx2a82fjrItDs1BSI7zdZnQtM2yQvcyod6/ujmzb7ejKPx8lZTnw=="],
|
||||
"eslint-plugin-perfectionist": ["eslint-plugin-perfectionist@4.15.1", "http://localhost:4873/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-4.15.1.tgz", { "dependencies": { "@typescript-eslint/types": "^8.38.0", "@typescript-eslint/utils": "^8.38.0", "natural-orderby": "^5.0.0" }, "peerDependencies": { "eslint": ">=8.45.0" } }, "sha512-MHF0cBoOG0XyBf7G0EAFCuJJu4I18wy0zAoT1OHfx2o6EOx1EFTIzr2HGeuZa1kDcusoX0xJ9V7oZmaeFd773Q=="],
|
||||
|
||||
"eslint-plugin-sonarjs": ["eslint-plugin-sonarjs@3.0.5", "http://localhost:4873/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-3.0.5.tgz", { "dependencies": { "@eslint-community/regexpp": "4.12.1", "builtin-modules": "3.3.0", "bytes": "3.1.2", "functional-red-black-tree": "1.0.1", "jsx-ast-utils-x": "0.1.0", "lodash.merge": "4.6.2", "minimatch": "9.0.5", "scslre": "0.3.0", "semver": "7.7.2", "typescript": ">=5" }, "peerDependencies": { "eslint": "^8.0.0 || ^9.0.0" } }, "sha512-dI62Ff3zMezUToi161hs2i1HX1ie8Ia2hO0jtNBfdgRBicAG4ydy2WPt0rMTrAe3ZrlqhpAO3w1jcQEdneYoFA=="],
|
||||
|
||||
|
|
@ -462,7 +462,7 @@
|
|||
|
||||
"js-yaml": ["js-yaml@4.1.0", "http://localhost:4873/js-yaml/-/js-yaml-4.1.0.tgz", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA=="],
|
||||
|
||||
"jsdoc-type-pratt-parser": ["jsdoc-type-pratt-parser@6.1.2", "http://localhost:4873/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-6.1.2.tgz", {}, "sha512-ruy+JcplsWkqnYq1m/qokaErhEURwf/vhdTzlPNpei7RJabVWxPxGWoCPSCP0sbsz03d590hTkjLdXjyMxH0iA=="],
|
||||
"jsdoc-type-pratt-parser": ["jsdoc-type-pratt-parser@6.3.3", "http://localhost:4873/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-6.3.3.tgz", {}, "sha512-N1HQK15ZXdwgmXsALjUWW9Cwyg1BQS5hfP8KzDkbR4mjb+Ep8Uxcfwz+OU1tsNCRg99rk62d8GMNdG8Qz4k+Gg=="],
|
||||
|
||||
"jsesc": ["jsesc@3.1.0", "http://localhost:4873/jsesc/-/jsesc-3.1.0.tgz", { "bin": { "jsesc": "bin/jsesc" } }, "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA=="],
|
||||
|
||||
|
|
@ -724,7 +724,7 @@
|
|||
|
||||
"type-fest": ["type-fest@4.2.0", "http://localhost:4873/type-fest/-/type-fest-4.2.0.tgz", {}, "sha512-5zknd7Dss75pMSED270A1RQS3KloqRJA9XbXLe0eCxyw7xXFb3rd+9B0UQ/0E+LQT6lnrLviEolYORlRWamn4w=="],
|
||||
|
||||
"typescript": ["typescript@6.0.0-dev.20251003", "http://localhost:4873/typescript/-/typescript-6.0.0-dev.20251003.tgz", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-PbP7z6E7AYvUt7aCMWyivnkxULdcWwpIAGHE3EEdLiRSAYkZx9Gxho85pLeuNGFQDrhVjdw0/XRYRNuAvjX4Kw=="],
|
||||
"typescript": ["typescript@6.0.0-dev.20251004", "http://localhost:4873/typescript/-/typescript-6.0.0-dev.20251004.tgz", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-3llKaL8BQl6rUoK7GAwVEjvJm2weUfb9nq1ZEVGJ+6nZ7hH5GcgPp/VWry8w5pFds2NpPr8emzrY7QKS5SAPMg=="],
|
||||
|
||||
"typescript-eslint": ["typescript-eslint@8.45.0", "http://localhost:4873/typescript-eslint/-/typescript-eslint-8.45.0.tgz", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.45.0", "@typescript-eslint/parser": "8.45.0", "@typescript-eslint/typescript-estree": "8.45.0", "@typescript-eslint/utils": "8.45.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-qzDmZw/Z5beNLUrXfd0HIW6MzIaAV5WNDxmMs9/3ojGOpYavofgNAAD/nC6tGV2PczIi0iw8vot2eAe/sBn7zg=="],
|
||||
|
||||
|
|
@ -786,6 +786,8 @@
|
|||
|
||||
"eslint-plugin-sonarjs/typescript": ["typescript@5.9.3", "http://localhost:4873/typescript/-/typescript-5.9.3.tgz", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="],
|
||||
|
||||
"eslint-plugin-unicorn/@eslint/plugin-kit": ["@eslint/plugin-kit@0.3.5", "http://localhost:4873/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz", { "dependencies": { "@eslint/core": "^0.15.2", "levn": "^0.4.1" } }, "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w=="],
|
||||
|
||||
"fast-glob/glob-parent": ["glob-parent@5.1.2", "http://localhost:4873/glob-parent/-/glob-parent-5.1.2.tgz", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
|
||||
|
||||
"is-builtin-module/builtin-modules": ["builtin-modules@5.0.0", "http://localhost:4873/builtin-modules/-/builtin-modules-5.0.0.tgz", {}, "sha512-bkXY9WsVpY7CvMhKSR6pZilZu9Ln5WDrKVBUXf2S443etkmEO4V58heTecXcUIsNsi4Rx8JUO4NfX1IcQl4deg=="],
|
||||
|
|
@ -801,5 +803,7 @@
|
|||
"@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.2", "http://localhost:4873/brace-expansion/-/brace-expansion-2.0.2.tgz", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
|
||||
|
||||
"eslint-plugin-sonarjs/minimatch/brace-expansion": ["brace-expansion@2.0.2", "http://localhost:4873/brace-expansion/-/brace-expansion-2.0.2.tgz", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ=="],
|
||||
|
||||
"eslint-plugin-unicorn/@eslint/plugin-kit/@eslint/core": ["@eslint/core@0.15.2", "http://localhost:4873/@eslint/core/-/core-0.15.2.tgz", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg=="],
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -1 +1 @@
|
|||
import{Linter as e}from"eslint";import{defineConfig as t,globalIgnores as n}from"eslint/config";import r from"globals";import i from"@eslint/js";import a from"eslint-plugin-jsdoc";import o from"eslint-plugin-functional";import s from"typescript-eslint";import c from"eslint-plugin-sonarjs";import l from"eslint-plugin-perfectionist";import u from"eslint-plugin-unicorn";const d={name:`JavaScript`,rules:{...i.configs.recommended.rules,"array-callback-return":[`error`,{allowVoid:!0,checkForEach:!0}],"no-nested-ternary":`off`,"no-unassigned-vars":`error`,"no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"no-unreachable-loop":`error`,"no-use-before-define":`off`,"no-useless-assignment":`error`,yoda:[`error`,`never`]}},f=a.configs[`flat/recommended-typescript`],p=a.configs[`flat/stylistic-typescript`],m={name:`JSDoc`,plugins:f.plugins??{},rules:{...f.rules,...p.rules,"jsdoc/check-indentation":`warn`,"jsdoc/check-line-alignment":`warn`,"jsdoc/check-tag-names":[`warn`,{definedTags:[`link`]}],"jsdoc/lines-before-block":`off`,"jsdoc/no-blank-block-descriptions":`warn`,"jsdoc/no-blank-blocks":`warn`,"jsdoc/require-hyphen-before-param-description":[`warn`,`always`],"jsdoc/require-throws":`warn`,"jsdoc/sort-tags":`warn`,"jsdoc/tag-lines":`off`}},h={name:`Programmation fonctionnelle`,plugins:{functional:o},rules:{...o.configs.noExceptions.rules,...o.configs.noMutations.rules,...o.configs.externalTypeScriptRecommended.rules,...o.configs.stylistic.rules,"@typescript-eslint/array-type":[`error`,{default:`generic`,readonly:`generic`}],"functional/prefer-immutable-types":`off`,"functional/prefer-tacit":`off`,"functional/readonly-type":[`error`,`generic`],"functional/type-declaration-immutability":`off`}},g={name:`SonarJS`,plugins:c.configs.recommended.plugins??{},rules:{...c.configs.recommended.rules,"sonarjs/arguments-usage":`error`,"sonarjs/no-collapsible-if":`error`,"sonarjs/no-duplicate-string":`error`,"sonarjs/no-inconsistent-returns":`error`,"sonarjs/no-nested-switch":`error`,"sonarjs/prefer-immediate-return":`error`}},_={name:`Tri`,plugins:l.configs[`recommended-natural`].plugins??{},rules:l.configs[`recommended-natural`].rules??{}},v=(e,t)=>e.find(e=>e.name===t)??{},y=v(s.configs.strictTypeChecked,`typescript-eslint/base`),b=v(s.configs.strictTypeChecked,`typescript-eslint/eslint-recommended`),x=v(s.configs.strictTypeChecked,`typescript-eslint/strict-type-checked`),S=v(s.configs.stylisticTypeChecked,`typescript-eslint/stylistic-type-checked`),C={languageOptions:y.languageOptions??{},name:`TypeScript`,plugins:y.plugins??{},rules:{...b.rules,...x.rules,...S.rules,"@typescript-eslint/consistent-type-definitions":[`error`,`type`],"@typescript-eslint/max-params":[`error`,{max:3}],"@typescript-eslint/method-signature-style":[`off`,`property`],"@typescript-eslint/no-magic-numbers":`off`,"@typescript-eslint/no-unnecessary-boolean-literal-compare":`off`,"@typescript-eslint/no-unnecessary-type-parameters":`off`}},w={name:`Unicorn`,plugins:{unicorn:u},rules:{...u.configs.unopinionated.rules,"unicorn/catch-error-name":[`error`],"unicorn/consistent-empty-array-spread":[`error`],"unicorn/custom-error-definition":[`error`],"unicorn/explicit-length-check":[`error`,{"non-zero":`not-equal`}],"unicorn/no-negated-condition":`error`,"unicorn/no-nested-ternary":`error`,"unicorn/no-null":`error`}},T=t([n([`dist/**/*`],`Ignore le dossier de compilation`),{files:[`**/*.js`,`**/*.ts`],name:`Fichiers à analyser`},{languageOptions:{ecmaVersion:`latest`,globals:{...r.browser,...r.builtin,...r.es2026,...r.node},parserOptions:{ecmaVersion:`latest`,projectService:!0,sourceType:`module`,tsconfigRootDir:import.meta.dirname}},name:`Configuration du projet`},d,C,h,w,g,m,_]);export{T as configTypescriptNavigateur};
|
||||
import{Linter as e}from"eslint";import{defineConfig as t,globalIgnores as n}from"eslint/config";import r from"globals";import i from"@eslint/js";import a from"eslint-plugin-jsdoc";import o from"eslint-plugin-functional";import s from"typescript-eslint";import c from"eslint-plugin-sonarjs";import l from"eslint-plugin-perfectionist";import u from"eslint-plugin-unicorn";const d={name:`JavaScript`,rules:{...i.configs.recommended.rules,"array-callback-return":[`error`,{allowVoid:!0,checkForEach:!0}],"no-nested-ternary":`off`,"no-unassigned-vars":`error`,"no-unneeded-ternary":[`error`,{defaultAssignment:!1}],"no-unreachable-loop":`error`,"no-use-before-define":`off`,"no-useless-assignment":`error`,yoda:[`error`,`never`]}},f=a.configs[`flat/recommended-typescript`],p=a.configs[`flat/stylistic-typescript`],m={name:`JSDoc`,plugins:f.plugins??{},rules:{...f.rules,...p.rules,"jsdoc/check-indentation":`warn`,"jsdoc/check-line-alignment":`warn`,"jsdoc/check-tag-names":[`warn`,{definedTags:[`link`]}],"jsdoc/lines-before-block":`off`,"jsdoc/no-blank-block-descriptions":`warn`,"jsdoc/no-blank-blocks":`warn`,"jsdoc/require-hyphen-before-param-description":[`warn`,`always`],"jsdoc/require-throws":`warn`,"jsdoc/sort-tags":`warn`,"jsdoc/tag-lines":`off`}},h={name:`Programmation fonctionnelle`,plugins:{functional:o},rules:{...o.configs.noExceptions.rules,...o.configs.noMutations.rules,...o.configs.externalTypeScriptRecommended.rules,...o.configs.stylistic.rules,"@typescript-eslint/array-type":[`error`,{default:`generic`,readonly:`generic`}],"functional/prefer-immutable-types":`off`,"functional/prefer-tacit":`off`,"functional/readonly-type":[`error`,`generic`],"functional/type-declaration-immutability":`off`}},g={name:`SonarJS`,plugins:c.configs.recommended.plugins??{},rules:{...c.configs.recommended.rules,"sonarjs/arguments-usage":`error`,"sonarjs/no-collapsible-if":`error`,"sonarjs/no-duplicate-string":`error`,"sonarjs/no-inconsistent-returns":`error`,"sonarjs/no-nested-switch":`error`,"sonarjs/prefer-immediate-return":`error`}},_={name:`Tri`,plugins:l.configs[`recommended-natural`].plugins??{},rules:l.configs[`recommended-natural`].rules??{}},v=(e,t)=>e.find(e=>e.name===t)??{},y=v(s.configs.strictTypeChecked,`typescript-eslint/base`),b=v(s.configs.strictTypeChecked,`typescript-eslint/eslint-recommended`),x=v(s.configs.strictTypeChecked,`typescript-eslint/strict-type-checked`),S=v(s.configs.stylisticTypeChecked,`typescript-eslint/stylistic-type-checked`),C={languageOptions:y.languageOptions??{},name:`TypeScript`,plugins:y.plugins??{},rules:{...b.rules,...x.rules,...S.rules,"@typescript-eslint/consistent-type-definitions":[`error`,`type`],"@typescript-eslint/max-params":[`error`,{max:3}],"@typescript-eslint/method-signature-style":[`off`,`property`],"@typescript-eslint/no-magic-numbers":`off`,"@typescript-eslint/no-unnecessary-boolean-literal-compare":`off`,"@typescript-eslint/no-unnecessary-type-parameters":`off`}},w={name:`Unicorn`,plugins:{unicorn:u},rules:{...u.configs.unopinionated.rules,"unicorn/catch-error-name":`error`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/custom-error-definition":`error`,"unicorn/explicit-length-check":[`error`,{"non-zero":`not-equal`}],"unicorn/no-array-for-each":`off`,"unicorn/no-array-reduce":`off`,"unicorn/no-negated-condition":`error`,"unicorn/no-nested-ternary":`error`,"unicorn/no-null":`error`,"unicorn/prefer-dom-node-dataset":`off`}},T=t([n([`dist/**/*`],`Ignore le dossier de compilation`),{files:[`**/*.js`,`**/*.ts`],name:`Fichiers à analyser`},{languageOptions:{ecmaVersion:`latest`,globals:{...r.browser,...r.builtin,...r.es2026,...r.node},parserOptions:{ecmaVersion:`latest`,projectService:!0,sourceType:`module`,tsconfigRootDir:import.meta.dirname}},name:`Configuration du projet`},d,C,h,w,g,m,_]);export{T as configTypescriptNavigateur};
|
||||
10
package.json
10
package.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@gcch/configuration-eslint",
|
||||
"version": "0.0.7",
|
||||
"version": "0.0.8",
|
||||
"type": "module",
|
||||
"description": "Configuration dprint partageable pour gcch.",
|
||||
"main": "./dist/index.js",
|
||||
|
|
@ -18,11 +18,11 @@
|
|||
"typescript": "next"
|
||||
},
|
||||
"dependencies": {
|
||||
"@eslint/js": "^9.36.0",
|
||||
"eslint": "^9.36.0",
|
||||
"@eslint/js": "^9.37.0",
|
||||
"eslint": "^9.37.0",
|
||||
"eslint-plugin-functional": "^9.0.2",
|
||||
"eslint-plugin-jsdoc": "^60.7.1",
|
||||
"eslint-plugin-perfectionist": "^4.15.0",
|
||||
"eslint-plugin-jsdoc": "^60.8.0",
|
||||
"eslint-plugin-perfectionist": "^4.15.1",
|
||||
"eslint-plugin-sonarjs": "^3.0.5",
|
||||
"eslint-plugin-unicorn": "^61.0.2",
|
||||
"globals": "^16.4.0",
|
||||
|
|
|
|||
|
|
@ -12,19 +12,19 @@ export const règlesUnicorn: Readonly<Linter.Config> = {
|
|||
*
|
||||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/catch-error-name.md)
|
||||
*/
|
||||
"unicorn/catch-error-name": ["error"],
|
||||
"unicorn/catch-error-name": "error",
|
||||
/**
|
||||
* Préfère des types consistants lors de l'étalage d'un tableau de littéraux au sein d'une condition ternaire.
|
||||
*
|
||||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-empty-array-spread.md)
|
||||
*/
|
||||
"unicorn/consistent-empty-array-spread": ["error"],
|
||||
"unicorn/consistent-empty-array-spread": "error",
|
||||
/**
|
||||
* Impose l'unique manière valide d'étendre la classe `Error`.
|
||||
*
|
||||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/custom-error-definition.md)
|
||||
*/
|
||||
"unicorn/custom-error-definition": ["error"],
|
||||
"unicorn/custom-error-definition": "error",
|
||||
/**
|
||||
* Impose la comparaison explicite de propriétés `length` ou `size`. Cela inclut ici l'obligation de vérifier
|
||||
* qu'elles ne correspondent pas à `0` avec `!==`.
|
||||
|
|
@ -32,6 +32,22 @@ export const règlesUnicorn: Readonly<Linter.Config> = {
|
|||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/explicit-length-check.md)
|
||||
*/
|
||||
"unicorn/explicit-length-check": ["error", { "non-zero": "not-equal" }],
|
||||
/**
|
||||
* Autorise ici l'usage de la méthode `forEach()` des tableaux.
|
||||
*
|
||||
* Je préfère cette méthode (ou celle de la librairie _Effect_) aux boucles.
|
||||
*
|
||||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-for-each.md)
|
||||
*/
|
||||
"unicorn/no-array-for-each": "off",
|
||||
/**
|
||||
* Autorise ici l'usage de la méthode `reduce()` des tableaux.
|
||||
*
|
||||
* J'utilise occasionnellement cette méthode pour des opérations simples.
|
||||
*
|
||||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-for-each.md)
|
||||
*/
|
||||
"unicorn/no-array-reduce": "off",
|
||||
/**
|
||||
* Interdit l'usage de conditions négatives pour la clarté du code.
|
||||
*
|
||||
|
|
@ -51,5 +67,13 @@ export const règlesUnicorn: Readonly<Linter.Config> = {
|
|||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-null.md)
|
||||
*/
|
||||
"unicorn/no-null": "error",
|
||||
/**
|
||||
* N'impose pas ici l'usage de `.dataset` pour l'interaction avec les attributs d'Éléments DOM.
|
||||
*
|
||||
* L'ergonomie est réduite comparée aux méthodes `{get,has,set,remove}Attribute()`.
|
||||
*
|
||||
* @link [GitHub](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-dom-node-dataset.md)
|
||||
*/
|
||||
"unicorn/prefer-dom-node-dataset": "off",
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue