diff --git a/package-lock.json b/package-lock.json index 3b6cde6d..4950ff6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1222,23 +1222,6 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@lwc/eslint-plugin-lwc": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@lwc/eslint-plugin-lwc/-/eslint-plugin-lwc-1.9.0.tgz", - "integrity": "sha512-z2wEUvLanstSl9o7VT/HAI7uFWHkTApz8N1ZpRQtyh8Hg6UbBZKLrg+vMxDED1vZVLu256i2KgYUWysVQyO4tg==", - "license": "MIT", - "dependencies": { - "globals": "^13.24.0", - "minimatch": "^9.0.4" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "@babel/eslint-parser": "^7", - "eslint": "^7 || ^8" - } - }, "node_modules/@lwc/eslint-plugin-lwc-platform": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@lwc/eslint-plugin-lwc-platform/-/eslint-plugin-lwc-platform-5.1.0.tgz", @@ -1267,33 +1250,6 @@ "node": ">=10" } }, - "node_modules/@lwc/eslint-plugin-lwc/node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "license": "MIT", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@lwc/eslint-plugin-lwc/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@nicolo-ribaudo/eslint-scope-5-internals": { "version": "5.1.1-v1", "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz", @@ -1372,98 +1328,10 @@ "resolved": "packages/code-analyzer-retirejs-engine", "link": true }, - "node_modules/@salesforce/eslint-config-lwc": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@salesforce/eslint-config-lwc/-/eslint-config-lwc-3.6.0.tgz", - "integrity": "sha512-k6F3LFKl6wvAmK31B/jn8aHtqo+kwl5q96DzhIcmL1qnCZj+AzH5gw9034j+c8279d8u8dC5QIUDU1iE3aCNCg==", - "license": "MIT", - "dependencies": { - "@babel/core": "~7.24.7", - "@babel/eslint-parser": "~7.24.7", - "eslint-restricted-globals": "~0.2.0", - "semver": "^7.6.2" - }, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "@lwc/eslint-plugin-lwc": "^1.0.0", - "@salesforce/eslint-plugin-lightning": "^1.0.0", - "eslint": "^7 || ^8", - "eslint-plugin-import": "*", - "eslint-plugin-jest": "*" - } - }, - "node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/core": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.9.tgz", - "integrity": "sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==", - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.9", - "@babel/helper-compilation-targets": "^7.24.8", - "@babel/helper-module-transforms": "^7.24.9", - "@babel/helpers": "^7.24.8", - "@babel/parser": "^7.24.8", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.8", - "@babel/types": "^7.24.9", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/eslint-parser": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.24.8.tgz", - "integrity": "sha512-nYAikI4XTGokU2QX7Jx+v4rxZKhKivaQaREZjuW3mrJrbdWJ5yUfohnoUULge+zEEaKjPYNxhoRgUKktjXtbwA==", - "license": "MIT", - "dependencies": { - "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", - "eslint-visitor-keys": "^2.1.0", - "semver": "^6.3.1" - }, - "engines": { - "node": "^10.13.0 || ^12.13.0 || >=14.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.11.0", - "eslint": "^7.5.0 || ^8.0.0 || ^9.0.0" - } - }, - "node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/eslint-parser/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/@salesforce/eslint-plugin-lightning": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@salesforce/eslint-plugin-lightning/-/eslint-plugin-lightning-1.0.0.tgz", - "integrity": "sha512-zk0PKXAcHKHepAG2EOSWlkOTxQM0Aw1CT6+MUxJcM42fCDwH/yPPpGkG3CWtRfmVViODGOwU9ywU2wlkAYcvUQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@salesforce/eslint-plugin-lightning/-/eslint-plugin-lightning-1.0.1.tgz", + "integrity": "sha512-oyUVSNUA0WkkQr3BRtcAYhYotzIpqZtfMpUVMhROPN8YjDGu6CzCoC3/1i4ySIevgmH3J83KypwoqvRfoQf8Ww==", "license": "MIT", "peerDependencies": { "eslint": "^7 || ^8" @@ -7949,11 +7817,11 @@ "@babel/core": "^7.26.0", "@babel/eslint-parser": "^7.26.5", "@eslint/js": "^8.57.1", - "@lwc/eslint-plugin-lwc": "^1.9.0", + "@lwc/eslint-plugin-lwc": "^2.0.1", "@lwc/eslint-plugin-lwc-platform": "^5.1.0", "@salesforce/code-analyzer-engine-api": "0.17.0-SNAPSHOT", - "@salesforce/eslint-config-lwc": "^3.6.0", - "@salesforce/eslint-plugin-lightning": "^1.0.0", + "@salesforce/eslint-config-lwc": "^3.7.1", + "@salesforce/eslint-plugin-lightning": "^1.0.1", "@types/eslint": "^8.56.10", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^8.20.0", @@ -7977,6 +7845,111 @@ "node": ">=20.0.0" } }, + "packages/code-analyzer-eslint-engine/node_modules/@lwc/eslint-plugin-lwc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@lwc/eslint-plugin-lwc/-/eslint-plugin-lwc-2.0.1.tgz", + "integrity": "sha512-ibDiWTwc4jQXLtzB3Fwidz3h5q67vRtabrLQun9JpeLmkHLTz1i07gAGzMeZ+QXo8ixhWNa7jBH1Zc3nN8EgnA==", + "license": "MIT", + "dependencies": { + "globals": "^13.24.0", + "minimatch": "^9.0.4" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "@babel/eslint-parser": "^7", + "eslint": "^7 || ^8" + } + }, + "packages/code-analyzer-eslint-engine/node_modules/@salesforce/eslint-config-lwc": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/@salesforce/eslint-config-lwc/-/eslint-config-lwc-3.7.1.tgz", + "integrity": "sha512-ds6I/S+HQAXVXamFfdVQotROMJZrGL/dNYwnpLCcsa2FTaTt5jhgQ8E+B2f2+R8/g7xBiU234iuPV+2bxcwQmg==", + "license": "MIT", + "dependencies": { + "@babel/core": "~7.24.7", + "@babel/eslint-parser": "~7.24.7", + "eslint-restricted-globals": "~0.2.0", + "semver": "^7.6.2" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "@lwc/eslint-plugin-lwc": "^2.0.0", + "@salesforce/eslint-plugin-lightning": "^1.0.0", + "eslint": "^7 || ^8", + "eslint-plugin-import": "*", + "eslint-plugin-jest": "*" + } + }, + "packages/code-analyzer-eslint-engine/node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/core": { + "version": "7.24.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.9.tgz", + "integrity": "sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.9", + "@babel/helper-compilation-targets": "^7.24.8", + "@babel/helper-module-transforms": "^7.24.9", + "@babel/helpers": "^7.24.8", + "@babel/parser": "^7.24.8", + "@babel/template": "^7.24.7", + "@babel/traverse": "^7.24.8", + "@babel/types": "^7.24.9", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "packages/code-analyzer-eslint-engine/node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "packages/code-analyzer-eslint-engine/node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/eslint-parser": { + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.24.8.tgz", + "integrity": "sha512-nYAikI4XTGokU2QX7Jx+v4rxZKhKivaQaREZjuW3mrJrbdWJ5yUfohnoUULge+zEEaKjPYNxhoRgUKktjXtbwA==", + "license": "MIT", + "dependencies": { + "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", + "eslint-visitor-keys": "^2.1.0", + "semver": "^6.3.1" + }, + "engines": { + "node": "^10.13.0 || ^12.13.0 || >=14.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0", + "eslint": "^7.5.0 || ^8.0.0 || ^9.0.0" + } + }, + "packages/code-analyzer-eslint-engine/node_modules/@salesforce/eslint-config-lwc/node_modules/@babel/eslint-parser/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, "packages/code-analyzer-eslint-engine/node_modules/@types/node": { "version": "20.17.14", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.14.tgz", @@ -7986,6 +7959,33 @@ "undici-types": "~6.19.2" } }, + "packages/code-analyzer-eslint-engine/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/code-analyzer-eslint-engine/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "packages/code-analyzer-eslint-engine/node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", diff --git a/packages/code-analyzer-eslint-engine/package.json b/packages/code-analyzer-eslint-engine/package.json index 4ba2bb05..f4bb036f 100644 --- a/packages/code-analyzer-eslint-engine/package.json +++ b/packages/code-analyzer-eslint-engine/package.json @@ -16,11 +16,11 @@ "@babel/core": "^7.26.0", "@babel/eslint-parser": "^7.26.5", "@eslint/js": "^8.57.1", - "@lwc/eslint-plugin-lwc": "^1.9.0", + "@lwc/eslint-plugin-lwc": "^2.0.1", "@lwc/eslint-plugin-lwc-platform": "^5.1.0", "@salesforce/code-analyzer-engine-api": "0.17.0-SNAPSHOT", - "@salesforce/eslint-config-lwc": "^3.6.0", - "@salesforce/eslint-plugin-lightning": "^1.0.0", + "@salesforce/eslint-config-lwc": "^3.7.1", + "@salesforce/eslint-plugin-lightning": "^1.0.1", "@types/eslint": "^8.56.10", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^8.20.0", diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig.goldfile.json index 1f70d626..4b5d1a49 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, { diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigModifyingExistingRules.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigModifyingExistingRules.goldfile.json index 1f70d626..4b5d1a49 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigModifyingExistingRules.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigModifyingExistingRules.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, { diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigWithNewRules.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigWithNewRules.goldfile.json index 2905ad54..c9815c59 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigWithNewRules.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfigAndCustomConfigWithNewRules.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, { diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig_NoTypescriptFilesInWorkspace.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig_NoTypescriptFilesInWorkspace.goldfile.json index f0f41c6f..358e9a7c 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig_NoTypescriptFilesInWorkspace.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DefaultConfig_NoTypescriptFilesInWorkspace.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, { diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledJavascriptBaseConfig.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledJavascriptBaseConfig.goldfile.json index a82bb5df..6796b279 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledJavascriptBaseConfig.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledJavascriptBaseConfig.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, { diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledTypescriptBaseConfig.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledTypescriptBaseConfig.goldfile.json index f0f41c6f..358e9a7c 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledTypescriptBaseConfig.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_DisabledTypescriptBaseConfig.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, { diff --git a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_OnlyLwcBaseConfig.goldfile.json b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_OnlyLwcBaseConfig.goldfile.json index c17a34da..deae95d3 100644 --- a/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_OnlyLwcBaseConfig.goldfile.json +++ b/packages/code-analyzer-eslint-engine/test/test-data/legacyConfigCases/rules_OnlyLwcBaseConfig.goldfile.json @@ -334,7 +334,7 @@ ], "description": "prevent public property reassignments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-api-reassignments.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-api-reassignments.md" ] }, { @@ -348,7 +348,7 @@ ], "description": "restrict usage of async operations", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-async-operation.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-async-operation.md" ] }, { @@ -362,7 +362,7 @@ ], "description": "no attributes during construction", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-attributes-during-construction.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-attributes-during-construction.md" ] }, { @@ -376,7 +376,7 @@ ], "description": "disallow usage of deprecated LWC APIs", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-deprecated.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-deprecated.md" ] }, { @@ -390,7 +390,7 @@ ], "description": "restrict unexpected imports from the lwc package", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-disallowed-lwc-imports.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-disallowed-lwc-imports.md" ] }, { @@ -404,7 +404,7 @@ ], "description": "disallow DOM query at the document level.", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-document-query.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-document-query.md" ] }, { @@ -418,7 +418,7 @@ ], "description": "disallow usage of \"innerHtml\"", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-inner-htm.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-inner-html.md" ] }, { @@ -432,7 +432,7 @@ ], "description": "disallow public property to start with an upper case character", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-leading-uppercase-api-name.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-leading-uppercase-api-name.md" ] }, { @@ -446,7 +446,7 @@ ], "description": "prevent accessing the immediate children of this.template", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-template-children.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-template-children.md" ] }, { @@ -460,7 +460,7 @@ ], "description": "restrict unexpected wire adapter usages", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unexpected-wire-adapter-usages.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unexpected-wire-adapter-usages.md" ] }, { @@ -474,7 +474,7 @@ ], "description": "restrict usage of unknown wire adapters", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/no-unknown-wire-adapters.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/no-unknown-wire-adapters.md" ] }, { @@ -488,7 +488,7 @@ ], "description": "suggest usage of \"CustomEvent\" over \"Event\" constructor", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/prefer-custom-event.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/prefer-custom-event.md" ] }, { @@ -502,7 +502,7 @@ ], "description": "validate api decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-api.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-api.md" ] }, { @@ -516,7 +516,7 @@ ], "description": "validate graphql error callback parameter", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-graphql-error-callback-parameter.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-graphql-wire-adapter-callback-parameters.md" ] }, { @@ -530,7 +530,7 @@ ], "description": "validate track decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-track.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-track.md" ] }, { @@ -544,7 +544,7 @@ ], "description": "validate wire decorator usage", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-lwc/blob/v1.9.0/docs/rules/valid-wire.md" + "https://github.com/salesforce/eslint-plugin-lwc/blob/v2.0.1/docs/rules/valid-wire.md" ] }, { @@ -558,7 +558,7 @@ ], "description": "enforce invoking Apex methods with the right arguments", "resourceUrls": [ - "https://github.com/salesforce/eslint-plugin-light/blob/v1.0.0/docs/rules/valid-apex-method-invocation.md" + "https://github.com/salesforce/eslint-plugin-lightning/blob/v1.0.1/docs/rules/valid-apex-method-invocation.md" ] }, {