diff --git a/.eslintrc.js b/.eslintrc.js index cd47323f3e9..4ceed4d3693 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -110,7 +110,7 @@ module.exports = { files: ["lib/rules/*"], excludedFiles: ["index.js"], rules: { - "eslint-plugin/require-meta-docs-url": ["error", { pattern: "https://eslint.org/docs/rules/{{name}}" }] + "eslint-plugin/require-meta-docs-url": ["error", { pattern: "https://eslint.org/docs/latest/rules/{{name}}" }] } }, { diff --git a/eslint.config.js b/eslint.config.js index dfed655ec36..5c488a57a15 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -145,7 +145,7 @@ module.exports = [ files: ["lib/rules/*"], ignores: ["index.js"], rules: { - "eslint-plugin/require-meta-docs-url": ["error", { pattern: "https://eslint.org/docs/rules/{{name}}" }] + "eslint-plugin/require-meta-docs-url": ["error", { pattern: "https://eslint.org/docs/latest/rules/{{name}}" }] } }, { diff --git a/lib/rules/accessor-pairs.js b/lib/rules/accessor-pairs.js index 112d0ddb8c1..a456df5c843 100644 --- a/lib/rules/accessor-pairs.js +++ b/lib/rules/accessor-pairs.js @@ -142,7 +142,7 @@ module.exports = { docs: { description: "Enforce getter and setter pairs in objects and classes", recommended: false, - url: "https://eslint.org/docs/rules/accessor-pairs" + url: "https://eslint.org/docs/latest/rules/accessor-pairs" }, schema: [{ diff --git a/lib/rules/array-bracket-newline.js b/lib/rules/array-bracket-newline.js index deeae818fb5..acd9c48cf25 100644 --- a/lib/rules/array-bracket-newline.js +++ b/lib/rules/array-bracket-newline.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce linebreaks after opening and before closing array brackets", recommended: false, - url: "https://eslint.org/docs/rules/array-bracket-newline" + url: "https://eslint.org/docs/latest/rules/array-bracket-newline" }, fixable: "whitespace", diff --git a/lib/rules/array-bracket-spacing.js b/lib/rules/array-bracket-spacing.js index 5e7cea9ba58..565a39a8560 100644 --- a/lib/rules/array-bracket-spacing.js +++ b/lib/rules/array-bracket-spacing.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce consistent spacing inside array brackets", recommended: false, - url: "https://eslint.org/docs/rules/array-bracket-spacing" + url: "https://eslint.org/docs/latest/rules/array-bracket-spacing" }, fixable: "whitespace", diff --git a/lib/rules/array-callback-return.js b/lib/rules/array-callback-return.js index 2b0a8559208..39912ec0a10 100644 --- a/lib/rules/array-callback-return.js +++ b/lib/rules/array-callback-return.js @@ -141,7 +141,7 @@ module.exports = { docs: { description: "Enforce `return` statements in callbacks of array methods", recommended: false, - url: "https://eslint.org/docs/rules/array-callback-return" + url: "https://eslint.org/docs/latest/rules/array-callback-return" }, schema: [ diff --git a/lib/rules/array-element-newline.js b/lib/rules/array-element-newline.js index 7ac03ae56d3..e2635513138 100644 --- a/lib/rules/array-element-newline.js +++ b/lib/rules/array-element-newline.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce line breaks after each array element", recommended: false, - url: "https://eslint.org/docs/rules/array-element-newline" + url: "https://eslint.org/docs/latest/rules/array-element-newline" }, fixable: "whitespace", diff --git a/lib/rules/arrow-body-style.js b/lib/rules/arrow-body-style.js index 8bb9e8c4ffa..b305c8c5fe7 100644 --- a/lib/rules/arrow-body-style.js +++ b/lib/rules/arrow-body-style.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Require braces around arrow function bodies", recommended: false, - url: "https://eslint.org/docs/rules/arrow-body-style" + url: "https://eslint.org/docs/latest/rules/arrow-body-style" }, schema: { diff --git a/lib/rules/arrow-parens.js b/lib/rules/arrow-parens.js index 05012fc37b7..c4f73da223c 100644 --- a/lib/rules/arrow-parens.js +++ b/lib/rules/arrow-parens.js @@ -35,7 +35,7 @@ module.exports = { docs: { description: "Require parentheses around arrow function arguments", recommended: false, - url: "https://eslint.org/docs/rules/arrow-parens" + url: "https://eslint.org/docs/latest/rules/arrow-parens" }, fixable: "code", diff --git a/lib/rules/arrow-spacing.js b/lib/rules/arrow-spacing.js index 2dcc175da06..ef2a0efbb2e 100644 --- a/lib/rules/arrow-spacing.js +++ b/lib/rules/arrow-spacing.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before and after the arrow in arrow functions", recommended: false, - url: "https://eslint.org/docs/rules/arrow-spacing" + url: "https://eslint.org/docs/latest/rules/arrow-spacing" }, fixable: "whitespace", diff --git a/lib/rules/block-scoped-var.js b/lib/rules/block-scoped-var.js index 68611fb595d..213ee5edbb8 100644 --- a/lib/rules/block-scoped-var.js +++ b/lib/rules/block-scoped-var.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Enforce the use of variables within the scope they are defined", recommended: false, - url: "https://eslint.org/docs/rules/block-scoped-var" + url: "https://eslint.org/docs/latest/rules/block-scoped-var" }, schema: [], diff --git a/lib/rules/block-spacing.js b/lib/rules/block-spacing.js index 9fbf1594c47..01dd8f92f4e 100644 --- a/lib/rules/block-spacing.js +++ b/lib/rules/block-spacing.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow or enforce spaces inside of blocks after opening block and before closing block", recommended: false, - url: "https://eslint.org/docs/rules/block-spacing" + url: "https://eslint.org/docs/latest/rules/block-spacing" }, fixable: "whitespace", diff --git a/lib/rules/brace-style.js b/lib/rules/brace-style.js index 52d89201b9e..2c14e7051c9 100644 --- a/lib/rules/brace-style.js +++ b/lib/rules/brace-style.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce consistent brace style for blocks", recommended: false, - url: "https://eslint.org/docs/rules/brace-style" + url: "https://eslint.org/docs/latest/rules/brace-style" }, schema: [ diff --git a/lib/rules/callback-return.js b/lib/rules/callback-return.js index fe5b649b582..b91e9d4b524 100644 --- a/lib/rules/callback-return.js +++ b/lib/rules/callback-return.js @@ -21,7 +21,7 @@ module.exports = { docs: { description: "Require `return` statements after callbacks", recommended: false, - url: "https://eslint.org/docs/rules/callback-return" + url: "https://eslint.org/docs/latest/rules/callback-return" }, schema: [{ diff --git a/lib/rules/camelcase.js b/lib/rules/camelcase.js index 3bed89855d7..0c1a35b0a0e 100644 --- a/lib/rules/camelcase.js +++ b/lib/rules/camelcase.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Enforce camelcase naming convention", recommended: false, - url: "https://eslint.org/docs/rules/camelcase" + url: "https://eslint.org/docs/latest/rules/camelcase" }, schema: [ diff --git a/lib/rules/capitalized-comments.js b/lib/rules/capitalized-comments.js index ba798d42858..2324062d01d 100644 --- a/lib/rules/capitalized-comments.js +++ b/lib/rules/capitalized-comments.js @@ -107,7 +107,7 @@ module.exports = { docs: { description: "Enforce or disallow capitalization of the first letter of a comment", recommended: false, - url: "https://eslint.org/docs/rules/capitalized-comments" + url: "https://eslint.org/docs/latest/rules/capitalized-comments" }, fixable: "code", diff --git a/lib/rules/class-methods-use-this.js b/lib/rules/class-methods-use-this.js index 05a915867c3..052d62825b8 100644 --- a/lib/rules/class-methods-use-this.js +++ b/lib/rules/class-methods-use-this.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Enforce that class methods utilize `this`", recommended: false, - url: "https://eslint.org/docs/rules/class-methods-use-this" + url: "https://eslint.org/docs/latest/rules/class-methods-use-this" }, schema: [{ diff --git a/lib/rules/comma-dangle.js b/lib/rules/comma-dangle.js index 09fecd5a448..d39ff1a66b3 100644 --- a/lib/rules/comma-dangle.js +++ b/lib/rules/comma-dangle.js @@ -78,7 +78,7 @@ module.exports = { docs: { description: "Require or disallow trailing commas", recommended: false, - url: "https://eslint.org/docs/rules/comma-dangle" + url: "https://eslint.org/docs/latest/rules/comma-dangle" }, fixable: "code", diff --git a/lib/rules/comma-spacing.js b/lib/rules/comma-spacing.js index 76d5dc46b9c..206bbd50abe 100644 --- a/lib/rules/comma-spacing.js +++ b/lib/rules/comma-spacing.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before and after commas", recommended: false, - url: "https://eslint.org/docs/rules/comma-spacing" + url: "https://eslint.org/docs/latest/rules/comma-spacing" }, fixable: "whitespace", diff --git a/lib/rules/comma-style.js b/lib/rules/comma-style.js index 4969f59d7ef..a267e86473d 100644 --- a/lib/rules/comma-style.js +++ b/lib/rules/comma-style.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce consistent comma style", recommended: false, - url: "https://eslint.org/docs/rules/comma-style" + url: "https://eslint.org/docs/latest/rules/comma-style" }, fixable: "code", diff --git a/lib/rules/complexity.js b/lib/rules/complexity.js index 541d3a9bb9a..b7925074db4 100644 --- a/lib/rules/complexity.js +++ b/lib/rules/complexity.js @@ -25,7 +25,7 @@ module.exports = { docs: { description: "Enforce a maximum cyclomatic complexity allowed in a program", recommended: false, - url: "https://eslint.org/docs/rules/complexity" + url: "https://eslint.org/docs/latest/rules/complexity" }, schema: [ diff --git a/lib/rules/computed-property-spacing.js b/lib/rules/computed-property-spacing.js index 3d033fc00bd..a089922fcb8 100644 --- a/lib/rules/computed-property-spacing.js +++ b/lib/rules/computed-property-spacing.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce consistent spacing inside computed property brackets", recommended: false, - url: "https://eslint.org/docs/rules/computed-property-spacing" + url: "https://eslint.org/docs/latest/rules/computed-property-spacing" }, fixable: "whitespace", diff --git a/lib/rules/consistent-return.js b/lib/rules/consistent-return.js index f0072974d11..6ff2f8f5829 100644 --- a/lib/rules/consistent-return.js +++ b/lib/rules/consistent-return.js @@ -48,7 +48,7 @@ module.exports = { docs: { description: "Require `return` statements to either always or never specify values", recommended: false, - url: "https://eslint.org/docs/rules/consistent-return" + url: "https://eslint.org/docs/latest/rules/consistent-return" }, schema: [{ diff --git a/lib/rules/consistent-this.js b/lib/rules/consistent-this.js index b1fbd0ebedf..a77d8c42171 100644 --- a/lib/rules/consistent-this.js +++ b/lib/rules/consistent-this.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Enforce consistent naming when capturing the current execution context", recommended: false, - url: "https://eslint.org/docs/rules/consistent-this" + url: "https://eslint.org/docs/latest/rules/consistent-this" }, schema: { diff --git a/lib/rules/constructor-super.js b/lib/rules/constructor-super.js index fff658471b0..5f405881252 100644 --- a/lib/rules/constructor-super.js +++ b/lib/rules/constructor-super.js @@ -124,7 +124,7 @@ module.exports = { docs: { description: "Require `super()` calls in constructors", recommended: true, - url: "https://eslint.org/docs/rules/constructor-super" + url: "https://eslint.org/docs/latest/rules/constructor-super" }, schema: [], diff --git a/lib/rules/curly.js b/lib/rules/curly.js index 7b5d140fe66..ce24fd55220 100644 --- a/lib/rules/curly.js +++ b/lib/rules/curly.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Enforce consistent brace style for all control statements", recommended: false, - url: "https://eslint.org/docs/rules/curly" + url: "https://eslint.org/docs/latest/rules/curly" }, schema: { diff --git a/lib/rules/default-case-last.js b/lib/rules/default-case-last.js index 313a0d8c904..d4a83b5fdc1 100644 --- a/lib/rules/default-case-last.js +++ b/lib/rules/default-case-last.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce default clauses in switch statements to be last", recommended: false, - url: "https://eslint.org/docs/rules/default-case-last" + url: "https://eslint.org/docs/latest/rules/default-case-last" }, schema: [], diff --git a/lib/rules/default-case.js b/lib/rules/default-case.js index f28de1af906..c0e5d32ba83 100644 --- a/lib/rules/default-case.js +++ b/lib/rules/default-case.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Require `default` cases in `switch` statements", recommended: false, - url: "https://eslint.org/docs/rules/default-case" + url: "https://eslint.org/docs/latest/rules/default-case" }, schema: [{ diff --git a/lib/rules/default-param-last.js b/lib/rules/default-param-last.js index 61df5f6d2eb..3254fa8026f 100644 --- a/lib/rules/default-param-last.js +++ b/lib/rules/default-param-last.js @@ -13,7 +13,7 @@ module.exports = { docs: { description: "Enforce default parameters to be last", recommended: false, - url: "https://eslint.org/docs/rules/default-param-last" + url: "https://eslint.org/docs/latest/rules/default-param-last" }, schema: [], diff --git a/lib/rules/dot-location.js b/lib/rules/dot-location.js index 36b50b284cf..2a2f2565e74 100644 --- a/lib/rules/dot-location.js +++ b/lib/rules/dot-location.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce consistent newlines before and after dots", recommended: false, - url: "https://eslint.org/docs/rules/dot-location" + url: "https://eslint.org/docs/latest/rules/dot-location" }, schema: [ diff --git a/lib/rules/dot-notation.js b/lib/rules/dot-notation.js index 5f6e818cb49..54e316d074e 100644 --- a/lib/rules/dot-notation.js +++ b/lib/rules/dot-notation.js @@ -28,7 +28,7 @@ module.exports = { docs: { description: "Enforce dot notation whenever possible", recommended: false, - url: "https://eslint.org/docs/rules/dot-notation" + url: "https://eslint.org/docs/latest/rules/dot-notation" }, schema: [ diff --git a/lib/rules/eol-last.js b/lib/rules/eol-last.js index fb87971fc73..f698e0e36f5 100644 --- a/lib/rules/eol-last.js +++ b/lib/rules/eol-last.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Require or disallow newline at the end of files", recommended: false, - url: "https://eslint.org/docs/rules/eol-last" + url: "https://eslint.org/docs/latest/rules/eol-last" }, fixable: "whitespace", diff --git a/lib/rules/eqeqeq.js b/lib/rules/eqeqeq.js index b3990e214d0..3c5deb1907d 100644 --- a/lib/rules/eqeqeq.js +++ b/lib/rules/eqeqeq.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Require the use of `===` and `!==`", recommended: false, - url: "https://eslint.org/docs/rules/eqeqeq" + url: "https://eslint.org/docs/latest/rules/eqeqeq" }, schema: { diff --git a/lib/rules/for-direction.js b/lib/rules/for-direction.js index 5507a9a1f32..4ed73501581 100644 --- a/lib/rules/for-direction.js +++ b/lib/rules/for-direction.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce \"for\" loop update clause moving the counter in the right direction", recommended: true, - url: "https://eslint.org/docs/rules/for-direction" + url: "https://eslint.org/docs/latest/rules/for-direction" }, fixable: null, diff --git a/lib/rules/func-call-spacing.js b/lib/rules/func-call-spacing.js index fec6763a2cd..11ecbe186af 100644 --- a/lib/rules/func-call-spacing.js +++ b/lib/rules/func-call-spacing.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Require or disallow spacing between function identifiers and their invocations", recommended: false, - url: "https://eslint.org/docs/rules/func-call-spacing" + url: "https://eslint.org/docs/latest/rules/func-call-spacing" }, fixable: "whitespace", diff --git a/lib/rules/func-name-matching.js b/lib/rules/func-name-matching.js index 69b47c286a3..b9555d6bdf4 100644 --- a/lib/rules/func-name-matching.js +++ b/lib/rules/func-name-matching.js @@ -76,7 +76,7 @@ module.exports = { docs: { description: "Require function names to match the name of the variable or property to which they are assigned", recommended: false, - url: "https://eslint.org/docs/rules/func-name-matching" + url: "https://eslint.org/docs/latest/rules/func-name-matching" }, schema: { diff --git a/lib/rules/func-names.js b/lib/rules/func-names.js index e42b81d3ed2..23399d63ffc 100644 --- a/lib/rules/func-names.js +++ b/lib/rules/func-names.js @@ -32,7 +32,7 @@ module.exports = { docs: { description: "Require or disallow named `function` expressions", recommended: false, - url: "https://eslint.org/docs/rules/func-names" + url: "https://eslint.org/docs/latest/rules/func-names" }, schema: { diff --git a/lib/rules/func-style.js b/lib/rules/func-style.js index 0e1ba9fab0e..ab83772ef5f 100644 --- a/lib/rules/func-style.js +++ b/lib/rules/func-style.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Enforce the consistent use of either `function` declarations or expressions", recommended: false, - url: "https://eslint.org/docs/rules/func-style" + url: "https://eslint.org/docs/latest/rules/func-style" }, schema: [ diff --git a/lib/rules/function-call-argument-newline.js b/lib/rules/function-call-argument-newline.js index 46610914622..753e752daa2 100644 --- a/lib/rules/function-call-argument-newline.js +++ b/lib/rules/function-call-argument-newline.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce line breaks between arguments of a function call", recommended: false, - url: "https://eslint.org/docs/rules/function-call-argument-newline" + url: "https://eslint.org/docs/latest/rules/function-call-argument-newline" }, fixable: "whitespace", diff --git a/lib/rules/function-paren-newline.js b/lib/rules/function-paren-newline.js index e61d17be603..822db923601 100644 --- a/lib/rules/function-paren-newline.js +++ b/lib/rules/function-paren-newline.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Enforce consistent line breaks inside function parentheses", recommended: false, - url: "https://eslint.org/docs/rules/function-paren-newline" + url: "https://eslint.org/docs/latest/rules/function-paren-newline" }, fixable: "whitespace", diff --git a/lib/rules/generator-star-spacing.js b/lib/rules/generator-star-spacing.js index d32b21fff5c..24aeb55ba8c 100644 --- a/lib/rules/generator-star-spacing.js +++ b/lib/rules/generator-star-spacing.js @@ -33,7 +33,7 @@ module.exports = { docs: { description: "Enforce consistent spacing around `*` operators in generator functions", recommended: false, - url: "https://eslint.org/docs/rules/generator-star-spacing" + url: "https://eslint.org/docs/latest/rules/generator-star-spacing" }, fixable: "whitespace", diff --git a/lib/rules/getter-return.js b/lib/rules/getter-return.js index 6d0e37bbaf6..cb7f3a0fc69 100644 --- a/lib/rules/getter-return.js +++ b/lib/rules/getter-return.js @@ -37,7 +37,7 @@ module.exports = { docs: { description: "Enforce `return` statements in getters", recommended: true, - url: "https://eslint.org/docs/rules/getter-return" + url: "https://eslint.org/docs/latest/rules/getter-return" }, fixable: null, diff --git a/lib/rules/global-require.js b/lib/rules/global-require.js index 5c0a6483663..be2d6f202c5 100644 --- a/lib/rules/global-require.js +++ b/lib/rules/global-require.js @@ -61,7 +61,7 @@ module.exports = { docs: { description: "Require `require()` calls to be placed at top-level module scope", recommended: false, - url: "https://eslint.org/docs/rules/global-require" + url: "https://eslint.org/docs/latest/rules/global-require" }, schema: [], diff --git a/lib/rules/grouped-accessor-pairs.js b/lib/rules/grouped-accessor-pairs.js index 21374be2101..4d857a409ed 100644 --- a/lib/rules/grouped-accessor-pairs.js +++ b/lib/rules/grouped-accessor-pairs.js @@ -98,7 +98,7 @@ module.exports = { docs: { description: "Require grouped accessor pairs in object literals and classes", recommended: false, - url: "https://eslint.org/docs/rules/grouped-accessor-pairs" + url: "https://eslint.org/docs/latest/rules/grouped-accessor-pairs" }, schema: [ diff --git a/lib/rules/guard-for-in.js b/lib/rules/guard-for-in.js index 3b99143fe21..d6e70d0d75f 100644 --- a/lib/rules/guard-for-in.js +++ b/lib/rules/guard-for-in.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require `for-in` loops to include an `if` statement", recommended: false, - url: "https://eslint.org/docs/rules/guard-for-in" + url: "https://eslint.org/docs/latest/rules/guard-for-in" }, schema: [], diff --git a/lib/rules/handle-callback-err.js b/lib/rules/handle-callback-err.js index 300dbb0dee2..384243dcae1 100644 --- a/lib/rules/handle-callback-err.js +++ b/lib/rules/handle-callback-err.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Require error handling in callbacks", recommended: false, - url: "https://eslint.org/docs/rules/handle-callback-err" + url: "https://eslint.org/docs/latest/rules/handle-callback-err" }, schema: [ diff --git a/lib/rules/id-blacklist.js b/lib/rules/id-blacklist.js index 9d1efac3787..adb004e1a71 100644 --- a/lib/rules/id-blacklist.js +++ b/lib/rules/id-blacklist.js @@ -121,7 +121,7 @@ module.exports = { docs: { description: "Disallow specified identifiers", recommended: false, - url: "https://eslint.org/docs/rules/id-blacklist" + url: "https://eslint.org/docs/latest/rules/id-blacklist" }, schema: { diff --git a/lib/rules/id-denylist.js b/lib/rules/id-denylist.js index 0d9328137b2..e59137ad59d 100644 --- a/lib/rules/id-denylist.js +++ b/lib/rules/id-denylist.js @@ -101,7 +101,7 @@ module.exports = { docs: { description: "Disallow specified identifiers", recommended: false, - url: "https://eslint.org/docs/rules/id-denylist" + url: "https://eslint.org/docs/latest/rules/id-denylist" }, schema: { diff --git a/lib/rules/id-length.js b/lib/rules/id-length.js index 87d23c9fb9c..97bc0e43006 100644 --- a/lib/rules/id-length.js +++ b/lib/rules/id-length.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Enforce minimum and maximum identifier lengths", recommended: false, - url: "https://eslint.org/docs/rules/id-length" + url: "https://eslint.org/docs/latest/rules/id-length" }, schema: [ diff --git a/lib/rules/id-match.js b/lib/rules/id-match.js index 73a3bd2f97e..b6ca8bd68c3 100644 --- a/lib/rules/id-match.js +++ b/lib/rules/id-match.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require identifiers to match a specified regular expression", recommended: false, - url: "https://eslint.org/docs/rules/id-match" + url: "https://eslint.org/docs/latest/rules/id-match" }, schema: [ diff --git a/lib/rules/implicit-arrow-linebreak.js b/lib/rules/implicit-arrow-linebreak.js index c765960267f..66556765102 100644 --- a/lib/rules/implicit-arrow-linebreak.js +++ b/lib/rules/implicit-arrow-linebreak.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce the location of arrow function bodies", recommended: false, - url: "https://eslint.org/docs/rules/implicit-arrow-linebreak" + url: "https://eslint.org/docs/latest/rules/implicit-arrow-linebreak" }, fixable: "whitespace", diff --git a/lib/rules/indent-legacy.js b/lib/rules/indent-legacy.js index d4793bd6360..2774bfe9508 100644 --- a/lib/rules/indent-legacy.js +++ b/lib/rules/indent-legacy.js @@ -28,7 +28,7 @@ module.exports = { docs: { description: "Enforce consistent indentation", recommended: false, - url: "https://eslint.org/docs/rules/indent-legacy" + url: "https://eslint.org/docs/latest/rules/indent-legacy" }, deprecated: true, diff --git a/lib/rules/indent.js b/lib/rules/indent.js index cda02035a1d..61b5e9b40c9 100644 --- a/lib/rules/indent.js +++ b/lib/rules/indent.js @@ -510,7 +510,7 @@ module.exports = { docs: { description: "Enforce consistent indentation", recommended: false, - url: "https://eslint.org/docs/rules/indent" + url: "https://eslint.org/docs/latest/rules/indent" }, fixable: "whitespace", diff --git a/lib/rules/init-declarations.js b/lib/rules/init-declarations.js index b2ddf64fb4b..3abe107f199 100644 --- a/lib/rules/init-declarations.js +++ b/lib/rules/init-declarations.js @@ -50,7 +50,7 @@ module.exports = { docs: { description: "Require or disallow initialization in variable declarations", recommended: false, - url: "https://eslint.org/docs/rules/init-declarations" + url: "https://eslint.org/docs/latest/rules/init-declarations" }, schema: { diff --git a/lib/rules/jsx-quotes.js b/lib/rules/jsx-quotes.js index 6745bb64b36..a41c85170fd 100644 --- a/lib/rules/jsx-quotes.js +++ b/lib/rules/jsx-quotes.js @@ -44,7 +44,7 @@ module.exports = { docs: { description: "Enforce the consistent use of either double or single quotes in JSX attributes", recommended: false, - url: "https://eslint.org/docs/rules/jsx-quotes" + url: "https://eslint.org/docs/latest/rules/jsx-quotes" }, fixable: "whitespace", diff --git a/lib/rules/key-spacing.js b/lib/rules/key-spacing.js index 743752d645f..adcd44c5298 100644 --- a/lib/rules/key-spacing.js +++ b/lib/rules/key-spacing.js @@ -138,7 +138,7 @@ module.exports = { docs: { description: "Enforce consistent spacing between keys and values in object literal properties", recommended: false, - url: "https://eslint.org/docs/rules/key-spacing" + url: "https://eslint.org/docs/latest/rules/key-spacing" }, fixable: "whitespace", diff --git a/lib/rules/keyword-spacing.js b/lib/rules/keyword-spacing.js index 59a500f5bfc..8c6a36f2633 100644 --- a/lib/rules/keyword-spacing.js +++ b/lib/rules/keyword-spacing.js @@ -69,7 +69,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before and after keywords", recommended: false, - url: "https://eslint.org/docs/rules/keyword-spacing" + url: "https://eslint.org/docs/latest/rules/keyword-spacing" }, fixable: "whitespace", diff --git a/lib/rules/line-comment-position.js b/lib/rules/line-comment-position.js index 0631ebe6f32..30656f33fc8 100644 --- a/lib/rules/line-comment-position.js +++ b/lib/rules/line-comment-position.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce position of line comments", recommended: false, - url: "https://eslint.org/docs/rules/line-comment-position" + url: "https://eslint.org/docs/latest/rules/line-comment-position" }, schema: [ diff --git a/lib/rules/linebreak-style.js b/lib/rules/linebreak-style.js index a5dc39d7967..d6af907798b 100644 --- a/lib/rules/linebreak-style.js +++ b/lib/rules/linebreak-style.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Enforce consistent linebreak style", recommended: false, - url: "https://eslint.org/docs/rules/linebreak-style" + url: "https://eslint.org/docs/latest/rules/linebreak-style" }, fixable: "whitespace", diff --git a/lib/rules/lines-around-comment.js b/lib/rules/lines-around-comment.js index ece43b1417e..8092939562a 100644 --- a/lib/rules/lines-around-comment.js +++ b/lib/rules/lines-around-comment.js @@ -57,7 +57,7 @@ module.exports = { docs: { description: "Require empty lines around comments", recommended: false, - url: "https://eslint.org/docs/rules/lines-around-comment" + url: "https://eslint.org/docs/latest/rules/lines-around-comment" }, fixable: "whitespace", diff --git a/lib/rules/lines-around-directive.js b/lib/rules/lines-around-directive.js index 816efc979b7..9360a4046e6 100644 --- a/lib/rules/lines-around-directive.js +++ b/lib/rules/lines-around-directive.js @@ -20,7 +20,7 @@ module.exports = { docs: { description: "Require or disallow newlines around directives", recommended: false, - url: "https://eslint.org/docs/rules/lines-around-directive" + url: "https://eslint.org/docs/latest/rules/lines-around-directive" }, schema: [{ diff --git a/lib/rules/lines-between-class-members.js b/lib/rules/lines-between-class-members.js index 26357aa3dde..065feaf13cd 100644 --- a/lib/rules/lines-between-class-members.js +++ b/lib/rules/lines-between-class-members.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Require or disallow an empty line between class members", recommended: false, - url: "https://eslint.org/docs/rules/lines-between-class-members" + url: "https://eslint.org/docs/latest/rules/lines-between-class-members" }, fixable: "whitespace", diff --git a/lib/rules/logical-assignment-operators.js b/lib/rules/logical-assignment-operators.js index f1c0119d99f..ba9ab198e30 100644 --- a/lib/rules/logical-assignment-operators.js +++ b/lib/rules/logical-assignment-operators.js @@ -161,7 +161,7 @@ module.exports = { docs: { description: "Require or disallow logical assignment operator shorthand", recommended: false, - url: "https://eslint.org/docs/rules/logical-assignment-operators" + url: "https://eslint.org/docs/latest/rules/logical-assignment-operators" }, schema: { diff --git a/lib/rules/max-classes-per-file.js b/lib/rules/max-classes-per-file.js index 0bd626fe6e8..241e06023e4 100644 --- a/lib/rules/max-classes-per-file.js +++ b/lib/rules/max-classes-per-file.js @@ -21,7 +21,7 @@ module.exports = { docs: { description: "Enforce a maximum number of classes per file", recommended: false, - url: "https://eslint.org/docs/rules/max-classes-per-file" + url: "https://eslint.org/docs/latest/rules/max-classes-per-file" }, schema: [ diff --git a/lib/rules/max-depth.js b/lib/rules/max-depth.js index 6b428ced763..7a8e9f94ef1 100644 --- a/lib/rules/max-depth.js +++ b/lib/rules/max-depth.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce a maximum depth that blocks can be nested", recommended: false, - url: "https://eslint.org/docs/rules/max-depth" + url: "https://eslint.org/docs/latest/rules/max-depth" }, schema: [ diff --git a/lib/rules/max-len.js b/lib/rules/max-len.js index 0d3b2af7026..f8d0aac464c 100644 --- a/lib/rules/max-len.js +++ b/lib/rules/max-len.js @@ -71,7 +71,7 @@ module.exports = { docs: { description: "Enforce a maximum line length", recommended: false, - url: "https://eslint.org/docs/rules/max-len" + url: "https://eslint.org/docs/latest/rules/max-len" }, schema: [ diff --git a/lib/rules/max-lines-per-function.js b/lib/rules/max-lines-per-function.js index fad646cc0c3..5ad95984122 100644 --- a/lib/rules/max-lines-per-function.js +++ b/lib/rules/max-lines-per-function.js @@ -73,7 +73,7 @@ module.exports = { docs: { description: "Enforce a maximum number of lines of code in a function", recommended: false, - url: "https://eslint.org/docs/rules/max-lines-per-function" + url: "https://eslint.org/docs/latest/rules/max-lines-per-function" }, schema: [ diff --git a/lib/rules/max-lines.js b/lib/rules/max-lines.js index d0e5bad3b2b..484a8afaa5c 100644 --- a/lib/rules/max-lines.js +++ b/lib/rules/max-lines.js @@ -36,7 +36,7 @@ module.exports = { docs: { description: "Enforce a maximum number of lines per file", recommended: false, - url: "https://eslint.org/docs/rules/max-lines" + url: "https://eslint.org/docs/latest/rules/max-lines" }, schema: [ diff --git a/lib/rules/max-nested-callbacks.js b/lib/rules/max-nested-callbacks.js index 3764d5dee95..d8f380b3c58 100644 --- a/lib/rules/max-nested-callbacks.js +++ b/lib/rules/max-nested-callbacks.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce a maximum depth that callbacks can be nested", recommended: false, - url: "https://eslint.org/docs/rules/max-nested-callbacks" + url: "https://eslint.org/docs/latest/rules/max-nested-callbacks" }, schema: [ diff --git a/lib/rules/max-params.js b/lib/rules/max-params.js index 8de1ab44b8a..587be3e477c 100644 --- a/lib/rules/max-params.js +++ b/lib/rules/max-params.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Enforce a maximum number of parameters in function definitions", recommended: false, - url: "https://eslint.org/docs/rules/max-params" + url: "https://eslint.org/docs/latest/rules/max-params" }, schema: [ diff --git a/lib/rules/max-statements-per-line.js b/lib/rules/max-statements-per-line.js index ada9cf0fe5e..8c48acfb820 100644 --- a/lib/rules/max-statements-per-line.js +++ b/lib/rules/max-statements-per-line.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Enforce a maximum number of statements allowed per line", recommended: false, - url: "https://eslint.org/docs/rules/max-statements-per-line" + url: "https://eslint.org/docs/latest/rules/max-statements-per-line" }, schema: [ diff --git a/lib/rules/max-statements.js b/lib/rules/max-statements.js index c598b1059d0..78053831f27 100644 --- a/lib/rules/max-statements.js +++ b/lib/rules/max-statements.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Enforce a maximum number of statements allowed in function blocks", recommended: false, - url: "https://eslint.org/docs/rules/max-statements" + url: "https://eslint.org/docs/latest/rules/max-statements" }, schema: [ diff --git a/lib/rules/multiline-comment-style.js b/lib/rules/multiline-comment-style.js index 9cb7f3473e5..0c949be6417 100644 --- a/lib/rules/multiline-comment-style.js +++ b/lib/rules/multiline-comment-style.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce a particular style for multiline comments", recommended: false, - url: "https://eslint.org/docs/rules/multiline-comment-style" + url: "https://eslint.org/docs/latest/rules/multiline-comment-style" }, fixable: "whitespace", diff --git a/lib/rules/multiline-ternary.js b/lib/rules/multiline-ternary.js index d8fe0b161c9..ec2174757ad 100644 --- a/lib/rules/multiline-ternary.js +++ b/lib/rules/multiline-ternary.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce newlines between operands of ternary expressions", recommended: false, - url: "https://eslint.org/docs/rules/multiline-ternary" + url: "https://eslint.org/docs/latest/rules/multiline-ternary" }, schema: [ diff --git a/lib/rules/new-cap.js b/lib/rules/new-cap.js index 7e0b21eafb6..b3d5b6414f9 100644 --- a/lib/rules/new-cap.js +++ b/lib/rules/new-cap.js @@ -84,7 +84,7 @@ module.exports = { docs: { description: "Require constructor names to begin with a capital letter", recommended: false, - url: "https://eslint.org/docs/rules/new-cap" + url: "https://eslint.org/docs/latest/rules/new-cap" }, schema: [ diff --git a/lib/rules/new-parens.js b/lib/rules/new-parens.js index 1240dd9f445..3b1219f7f36 100644 --- a/lib/rules/new-parens.js +++ b/lib/rules/new-parens.js @@ -27,7 +27,7 @@ module.exports = { docs: { description: "Enforce or disallow parentheses when invoking a constructor with no arguments", recommended: false, - url: "https://eslint.org/docs/rules/new-parens" + url: "https://eslint.org/docs/latest/rules/new-parens" }, fixable: "code", diff --git a/lib/rules/newline-after-var.js b/lib/rules/newline-after-var.js index 2b4d8584656..340a6136b0f 100644 --- a/lib/rules/newline-after-var.js +++ b/lib/rules/newline-after-var.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Require or disallow an empty line after variable declarations", recommended: false, - url: "https://eslint.org/docs/rules/newline-after-var" + url: "https://eslint.org/docs/latest/rules/newline-after-var" }, schema: [ { diff --git a/lib/rules/newline-before-return.js b/lib/rules/newline-before-return.js index 007d9427363..0c91ff1527f 100644 --- a/lib/rules/newline-before-return.js +++ b/lib/rules/newline-before-return.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require an empty line before `return` statements", recommended: false, - url: "https://eslint.org/docs/rules/newline-before-return" + url: "https://eslint.org/docs/latest/rules/newline-before-return" }, fixable: "whitespace", diff --git a/lib/rules/newline-per-chained-call.js b/lib/rules/newline-per-chained-call.js index 83844a52b35..49d09a10b88 100644 --- a/lib/rules/newline-per-chained-call.js +++ b/lib/rules/newline-per-chained-call.js @@ -20,7 +20,7 @@ module.exports = { docs: { description: "Require a newline after each call in a method chain", recommended: false, - url: "https://eslint.org/docs/rules/newline-per-chained-call" + url: "https://eslint.org/docs/latest/rules/newline-per-chained-call" }, fixable: "whitespace", diff --git a/lib/rules/no-alert.js b/lib/rules/no-alert.js index 8af188971c5..ee9a737ccbf 100644 --- a/lib/rules/no-alert.js +++ b/lib/rules/no-alert.js @@ -90,7 +90,7 @@ module.exports = { docs: { description: "Disallow the use of `alert`, `confirm`, and `prompt`", recommended: false, - url: "https://eslint.org/docs/rules/no-alert" + url: "https://eslint.org/docs/latest/rules/no-alert" }, schema: [], diff --git a/lib/rules/no-array-constructor.js b/lib/rules/no-array-constructor.js index 93b79abfd89..b5399264118 100644 --- a/lib/rules/no-array-constructor.js +++ b/lib/rules/no-array-constructor.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow `Array` constructors", recommended: false, - url: "https://eslint.org/docs/rules/no-array-constructor" + url: "https://eslint.org/docs/latest/rules/no-array-constructor" }, schema: [], diff --git a/lib/rules/no-async-promise-executor.js b/lib/rules/no-async-promise-executor.js index 52c51862feb..f31d3930bee 100644 --- a/lib/rules/no-async-promise-executor.js +++ b/lib/rules/no-async-promise-executor.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow using an async function as a Promise executor", recommended: true, - url: "https://eslint.org/docs/rules/no-async-promise-executor" + url: "https://eslint.org/docs/latest/rules/no-async-promise-executor" }, fixable: null, diff --git a/lib/rules/no-await-in-loop.js b/lib/rules/no-await-in-loop.js index 905a793c830..20230defa62 100644 --- a/lib/rules/no-await-in-loop.js +++ b/lib/rules/no-await-in-loop.js @@ -61,7 +61,7 @@ module.exports = { docs: { description: "Disallow `await` inside of loops", recommended: false, - url: "https://eslint.org/docs/rules/no-await-in-loop" + url: "https://eslint.org/docs/latest/rules/no-await-in-loop" }, schema: [], diff --git a/lib/rules/no-bitwise.js b/lib/rules/no-bitwise.js index 172ea046bbe..d90992b2064 100644 --- a/lib/rules/no-bitwise.js +++ b/lib/rules/no-bitwise.js @@ -28,7 +28,7 @@ module.exports = { docs: { description: "Disallow bitwise operators", recommended: false, - url: "https://eslint.org/docs/rules/no-bitwise" + url: "https://eslint.org/docs/latest/rules/no-bitwise" }, schema: [ diff --git a/lib/rules/no-buffer-constructor.js b/lib/rules/no-buffer-constructor.js index 93003928815..0b73c7674b6 100644 --- a/lib/rules/no-buffer-constructor.js +++ b/lib/rules/no-buffer-constructor.js @@ -21,7 +21,7 @@ module.exports = { docs: { description: "Disallow use of the `Buffer()` constructor", recommended: false, - url: "https://eslint.org/docs/rules/no-buffer-constructor" + url: "https://eslint.org/docs/latest/rules/no-buffer-constructor" }, schema: [], diff --git a/lib/rules/no-caller.js b/lib/rules/no-caller.js index 884a02bdcf6..3e61a8e1c2d 100644 --- a/lib/rules/no-caller.js +++ b/lib/rules/no-caller.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow the use of `arguments.caller` or `arguments.callee`", recommended: false, - url: "https://eslint.org/docs/rules/no-caller" + url: "https://eslint.org/docs/latest/rules/no-caller" }, schema: [], diff --git a/lib/rules/no-case-declarations.js b/lib/rules/no-case-declarations.js index 6557ba3a03d..8dc5b021d82 100644 --- a/lib/rules/no-case-declarations.js +++ b/lib/rules/no-case-declarations.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow lexical declarations in case clauses", recommended: true, - url: "https://eslint.org/docs/rules/no-case-declarations" + url: "https://eslint.org/docs/latest/rules/no-case-declarations" }, schema: [], diff --git a/lib/rules/no-catch-shadow.js b/lib/rules/no-catch-shadow.js index 5e8b51e092d..48e0e7fe7ec 100644 --- a/lib/rules/no-catch-shadow.js +++ b/lib/rules/no-catch-shadow.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow `catch` clause parameters from shadowing variables in the outer scope", recommended: false, - url: "https://eslint.org/docs/rules/no-catch-shadow" + url: "https://eslint.org/docs/latest/rules/no-catch-shadow" }, replacedBy: ["no-shadow"], diff --git a/lib/rules/no-class-assign.js b/lib/rules/no-class-assign.js index 1129a5628ad..92ae9f99c90 100644 --- a/lib/rules/no-class-assign.js +++ b/lib/rules/no-class-assign.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow reassigning class members", recommended: true, - url: "https://eslint.org/docs/rules/no-class-assign" + url: "https://eslint.org/docs/latest/rules/no-class-assign" }, schema: [], diff --git a/lib/rules/no-compare-neg-zero.js b/lib/rules/no-compare-neg-zero.js index 9715c2f0f37..112f6c1d113 100644 --- a/lib/rules/no-compare-neg-zero.js +++ b/lib/rules/no-compare-neg-zero.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow comparing against -0", recommended: true, - url: "https://eslint.org/docs/rules/no-compare-neg-zero" + url: "https://eslint.org/docs/latest/rules/no-compare-neg-zero" }, fixable: null, diff --git a/lib/rules/no-cond-assign.js b/lib/rules/no-cond-assign.js index 59efb341f09..10d4492455c 100644 --- a/lib/rules/no-cond-assign.js +++ b/lib/rules/no-cond-assign.js @@ -36,7 +36,7 @@ module.exports = { docs: { description: "Disallow assignment operators in conditional expressions", recommended: true, - url: "https://eslint.org/docs/rules/no-cond-assign" + url: "https://eslint.org/docs/latest/rules/no-cond-assign" }, schema: [ diff --git a/lib/rules/no-confusing-arrow.js b/lib/rules/no-confusing-arrow.js index d2b6641b74f..12d8ff96247 100644 --- a/lib/rules/no-confusing-arrow.js +++ b/lib/rules/no-confusing-arrow.js @@ -33,7 +33,7 @@ module.exports = { docs: { description: "Disallow arrow functions where they could be confused with comparisons", recommended: false, - url: "https://eslint.org/docs/rules/no-confusing-arrow" + url: "https://eslint.org/docs/latest/rules/no-confusing-arrow" }, fixable: "code", diff --git a/lib/rules/no-console.js b/lib/rules/no-console.js index 4651282214d..33d231a9f0e 100644 --- a/lib/rules/no-console.js +++ b/lib/rules/no-console.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow the use of `console`", recommended: false, - url: "https://eslint.org/docs/rules/no-console" + url: "https://eslint.org/docs/latest/rules/no-console" }, schema: [ diff --git a/lib/rules/no-const-assign.js b/lib/rules/no-const-assign.js index 58011b99448..993675ea1cb 100644 --- a/lib/rules/no-const-assign.js +++ b/lib/rules/no-const-assign.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow reassigning `const` variables", recommended: true, - url: "https://eslint.org/docs/rules/no-const-assign" + url: "https://eslint.org/docs/latest/rules/no-const-assign" }, schema: [], diff --git a/lib/rules/no-constant-binary-expression.js b/lib/rules/no-constant-binary-expression.js index 4b2337b4771..26ff6ad55ea 100644 --- a/lib/rules/no-constant-binary-expression.js +++ b/lib/rules/no-constant-binary-expression.js @@ -441,7 +441,7 @@ module.exports = { docs: { description: "Disallow expressions where the operation doesn't affect the value", recommended: false, - url: "https://eslint.org/docs/rules/no-constant-binary-expression" + url: "https://eslint.org/docs/latest/rules/no-constant-binary-expression" }, schema: [], messages: { diff --git a/lib/rules/no-constant-condition.js b/lib/rules/no-constant-condition.js index de548472b7d..33394e1ea69 100644 --- a/lib/rules/no-constant-condition.js +++ b/lib/rules/no-constant-condition.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow constant expressions in conditions", recommended: true, - url: "https://eslint.org/docs/rules/no-constant-condition" + url: "https://eslint.org/docs/latest/rules/no-constant-condition" }, schema: [ diff --git a/lib/rules/no-constructor-return.js b/lib/rules/no-constructor-return.js index 911a32abcae..d7d98939b9a 100644 --- a/lib/rules/no-constructor-return.js +++ b/lib/rules/no-constructor-return.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow returning value from constructor", recommended: false, - url: "https://eslint.org/docs/rules/no-constructor-return" + url: "https://eslint.org/docs/latest/rules/no-constructor-return" }, schema: {}, diff --git a/lib/rules/no-continue.js b/lib/rules/no-continue.js index 80381fc3f84..f6e484b2fc7 100644 --- a/lib/rules/no-continue.js +++ b/lib/rules/no-continue.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow `continue` statements", recommended: false, - url: "https://eslint.org/docs/rules/no-continue" + url: "https://eslint.org/docs/latest/rules/no-continue" }, schema: [], diff --git a/lib/rules/no-control-regex.js b/lib/rules/no-control-regex.js index c42f86d1277..086747f3746 100644 --- a/lib/rules/no-control-regex.js +++ b/lib/rules/no-control-regex.js @@ -56,7 +56,7 @@ module.exports = { docs: { description: "Disallow control characters in regular expressions", recommended: true, - url: "https://eslint.org/docs/rules/no-control-regex" + url: "https://eslint.org/docs/latest/rules/no-control-regex" }, schema: [], diff --git a/lib/rules/no-debugger.js b/lib/rules/no-debugger.js index 3b88079a0fb..f69843515a3 100644 --- a/lib/rules/no-debugger.js +++ b/lib/rules/no-debugger.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow the use of `debugger`", recommended: true, - url: "https://eslint.org/docs/rules/no-debugger" + url: "https://eslint.org/docs/latest/rules/no-debugger" }, fixable: null, diff --git a/lib/rules/no-delete-var.js b/lib/rules/no-delete-var.js index 41021bd46a7..126603c83ce 100644 --- a/lib/rules/no-delete-var.js +++ b/lib/rules/no-delete-var.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow deleting variables", recommended: true, - url: "https://eslint.org/docs/rules/no-delete-var" + url: "https://eslint.org/docs/latest/rules/no-delete-var" }, schema: [], diff --git a/lib/rules/no-div-regex.js b/lib/rules/no-div-regex.js index 0ecd302b2f9..c0f3ce89a28 100644 --- a/lib/rules/no-div-regex.js +++ b/lib/rules/no-div-regex.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow equal signs explicitly at the beginning of regular expressions", recommended: false, - url: "https://eslint.org/docs/rules/no-div-regex" + url: "https://eslint.org/docs/latest/rules/no-div-regex" }, fixable: "code", diff --git a/lib/rules/no-dupe-args.js b/lib/rules/no-dupe-args.js index 116efd93724..f52a4062bf8 100644 --- a/lib/rules/no-dupe-args.js +++ b/lib/rules/no-dupe-args.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow duplicate arguments in `function` definitions", recommended: true, - url: "https://eslint.org/docs/rules/no-dupe-args" + url: "https://eslint.org/docs/latest/rules/no-dupe-args" }, schema: [], diff --git a/lib/rules/no-dupe-class-members.js b/lib/rules/no-dupe-class-members.js index 8eca7878a46..2a7a9e810dc 100644 --- a/lib/rules/no-dupe-class-members.js +++ b/lib/rules/no-dupe-class-members.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow duplicate class members", recommended: true, - url: "https://eslint.org/docs/rules/no-dupe-class-members" + url: "https://eslint.org/docs/latest/rules/no-dupe-class-members" }, schema: [], diff --git a/lib/rules/no-dupe-else-if.js b/lib/rules/no-dupe-else-if.js index 49db5ec7c6c..d887a982895 100644 --- a/lib/rules/no-dupe-else-if.js +++ b/lib/rules/no-dupe-else-if.js @@ -54,7 +54,7 @@ module.exports = { docs: { description: "Disallow duplicate conditions in if-else-if chains", recommended: true, - url: "https://eslint.org/docs/rules/no-dupe-else-if" + url: "https://eslint.org/docs/latest/rules/no-dupe-else-if" }, schema: [], diff --git a/lib/rules/no-dupe-keys.js b/lib/rules/no-dupe-keys.js index 65c34bc5fd1..980b0044afd 100644 --- a/lib/rules/no-dupe-keys.js +++ b/lib/rules/no-dupe-keys.js @@ -90,7 +90,7 @@ module.exports = { docs: { description: "Disallow duplicate keys in object literals", recommended: true, - url: "https://eslint.org/docs/rules/no-dupe-keys" + url: "https://eslint.org/docs/latest/rules/no-dupe-keys" }, schema: [], diff --git a/lib/rules/no-duplicate-case.js b/lib/rules/no-duplicate-case.js index d436afdd007..d15eb030602 100644 --- a/lib/rules/no-duplicate-case.js +++ b/lib/rules/no-duplicate-case.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow duplicate case labels", recommended: true, - url: "https://eslint.org/docs/rules/no-duplicate-case" + url: "https://eslint.org/docs/latest/rules/no-duplicate-case" }, schema: [], diff --git a/lib/rules/no-duplicate-imports.js b/lib/rules/no-duplicate-imports.js index 619e2588e91..25c07b7500d 100644 --- a/lib/rules/no-duplicate-imports.js +++ b/lib/rules/no-duplicate-imports.js @@ -235,7 +235,7 @@ module.exports = { docs: { description: "Disallow duplicate module imports", recommended: false, - url: "https://eslint.org/docs/rules/no-duplicate-imports" + url: "https://eslint.org/docs/latest/rules/no-duplicate-imports" }, schema: [ diff --git a/lib/rules/no-else-return.js b/lib/rules/no-else-return.js index 56234d54d3b..36a92e3dde8 100644 --- a/lib/rules/no-else-return.js +++ b/lib/rules/no-else-return.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow `else` blocks after `return` statements in `if` statements", recommended: false, - url: "https://eslint.org/docs/rules/no-else-return" + url: "https://eslint.org/docs/latest/rules/no-else-return" }, schema: [{ diff --git a/lib/rules/no-empty-character-class.js b/lib/rules/no-empty-character-class.js index 2d294f4bded..da29bbe9270 100644 --- a/lib/rules/no-empty-character-class.js +++ b/lib/rules/no-empty-character-class.js @@ -32,7 +32,7 @@ module.exports = { docs: { description: "Disallow empty character classes in regular expressions", recommended: true, - url: "https://eslint.org/docs/rules/no-empty-character-class" + url: "https://eslint.org/docs/latest/rules/no-empty-character-class" }, schema: [], diff --git a/lib/rules/no-empty-function.js b/lib/rules/no-empty-function.js index 4c9daa931e2..c16aee87c2c 100644 --- a/lib/rules/no-empty-function.js +++ b/lib/rules/no-empty-function.js @@ -97,7 +97,7 @@ module.exports = { docs: { description: "Disallow empty functions", recommended: false, - url: "https://eslint.org/docs/rules/no-empty-function" + url: "https://eslint.org/docs/latest/rules/no-empty-function" }, schema: [ diff --git a/lib/rules/no-empty-pattern.js b/lib/rules/no-empty-pattern.js index 5a497f03972..abb1a7c6ddb 100644 --- a/lib/rules/no-empty-pattern.js +++ b/lib/rules/no-empty-pattern.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow empty destructuring patterns", recommended: true, - url: "https://eslint.org/docs/rules/no-empty-pattern" + url: "https://eslint.org/docs/latest/rules/no-empty-pattern" }, schema: [], diff --git a/lib/rules/no-empty-static-block.js b/lib/rules/no-empty-static-block.js index ab710628824..e810097bb38 100644 --- a/lib/rules/no-empty-static-block.js +++ b/lib/rules/no-empty-static-block.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow empty static blocks", recommended: false, - url: "https://eslint.org/docs/rules/no-empty-static-block" + url: "https://eslint.org/docs/latest/rules/no-empty-static-block" }, schema: [], diff --git a/lib/rules/no-empty.js b/lib/rules/no-empty.js index 242e50efea4..633ddd001b9 100644 --- a/lib/rules/no-empty.js +++ b/lib/rules/no-empty.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow empty block statements", recommended: true, - url: "https://eslint.org/docs/rules/no-empty" + url: "https://eslint.org/docs/latest/rules/no-empty" }, schema: [ diff --git a/lib/rules/no-eq-null.js b/lib/rules/no-eq-null.js index 9a886803dc5..9252907b6b6 100644 --- a/lib/rules/no-eq-null.js +++ b/lib/rules/no-eq-null.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow `null` comparisons without type-checking operators", recommended: false, - url: "https://eslint.org/docs/rules/no-eq-null" + url: "https://eslint.org/docs/latest/rules/no-eq-null" }, schema: [], diff --git a/lib/rules/no-eval.js b/lib/rules/no-eval.js index 76d6859ab5d..42f8182c48a 100644 --- a/lib/rules/no-eval.js +++ b/lib/rules/no-eval.js @@ -45,7 +45,7 @@ module.exports = { docs: { description: "Disallow the use of `eval()`", recommended: false, - url: "https://eslint.org/docs/rules/no-eval" + url: "https://eslint.org/docs/latest/rules/no-eval" }, schema: [ diff --git a/lib/rules/no-ex-assign.js b/lib/rules/no-ex-assign.js index af46510ed45..aec60cb9597 100644 --- a/lib/rules/no-ex-assign.js +++ b/lib/rules/no-ex-assign.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow reassigning exceptions in `catch` clauses", recommended: true, - url: "https://eslint.org/docs/rules/no-ex-assign" + url: "https://eslint.org/docs/latest/rules/no-ex-assign" }, schema: [], diff --git a/lib/rules/no-extend-native.js b/lib/rules/no-extend-native.js index b1965964394..c4c408bdc8b 100644 --- a/lib/rules/no-extend-native.js +++ b/lib/rules/no-extend-native.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow extending native types", recommended: false, - url: "https://eslint.org/docs/rules/no-extend-native" + url: "https://eslint.org/docs/latest/rules/no-extend-native" }, schema: [ diff --git a/lib/rules/no-extra-bind.js b/lib/rules/no-extra-bind.js index caf6d8b1f80..ec4ca350042 100644 --- a/lib/rules/no-extra-bind.js +++ b/lib/rules/no-extra-bind.js @@ -28,7 +28,7 @@ module.exports = { docs: { description: "Disallow unnecessary calls to `.bind()`", recommended: false, - url: "https://eslint.org/docs/rules/no-extra-bind" + url: "https://eslint.org/docs/latest/rules/no-extra-bind" }, schema: [], diff --git a/lib/rules/no-extra-boolean-cast.js b/lib/rules/no-extra-boolean-cast.js index 5f9411b4637..108ea5824d0 100644 --- a/lib/rules/no-extra-boolean-cast.js +++ b/lib/rules/no-extra-boolean-cast.js @@ -26,7 +26,7 @@ module.exports = { docs: { description: "Disallow unnecessary boolean casts", recommended: true, - url: "https://eslint.org/docs/rules/no-extra-boolean-cast" + url: "https://eslint.org/docs/latest/rules/no-extra-boolean-cast" }, schema: [{ diff --git a/lib/rules/no-extra-label.js b/lib/rules/no-extra-label.js index bda3dd0efb0..0f34a624aac 100644 --- a/lib/rules/no-extra-label.js +++ b/lib/rules/no-extra-label.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow unnecessary labels", recommended: false, - url: "https://eslint.org/docs/rules/no-extra-label" + url: "https://eslint.org/docs/latest/rules/no-extra-label" }, schema: [], diff --git a/lib/rules/no-extra-parens.js b/lib/rules/no-extra-parens.js index efb01a337a2..0f9787deb3a 100644 --- a/lib/rules/no-extra-parens.js +++ b/lib/rules/no-extra-parens.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow unnecessary parentheses", recommended: false, - url: "https://eslint.org/docs/rules/no-extra-parens" + url: "https://eslint.org/docs/latest/rules/no-extra-parens" }, fixable: "code", diff --git a/lib/rules/no-extra-semi.js b/lib/rules/no-extra-semi.js index c61ad37dce8..dec104199a4 100644 --- a/lib/rules/no-extra-semi.js +++ b/lib/rules/no-extra-semi.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow unnecessary semicolons", recommended: true, - url: "https://eslint.org/docs/rules/no-extra-semi" + url: "https://eslint.org/docs/latest/rules/no-extra-semi" }, fixable: "code", diff --git a/lib/rules/no-fallthrough.js b/lib/rules/no-fallthrough.js index 4c911eaf409..60616de0edf 100644 --- a/lib/rules/no-fallthrough.js +++ b/lib/rules/no-fallthrough.js @@ -82,7 +82,7 @@ module.exports = { docs: { description: "Disallow fallthrough of `case` statements", recommended: true, - url: "https://eslint.org/docs/rules/no-fallthrough" + url: "https://eslint.org/docs/latest/rules/no-fallthrough" }, schema: [ diff --git a/lib/rules/no-floating-decimal.js b/lib/rules/no-floating-decimal.js index cce50bf9dad..ed0fc3096f1 100644 --- a/lib/rules/no-floating-decimal.js +++ b/lib/rules/no-floating-decimal.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow leading or trailing decimal points in numeric literals", recommended: false, - url: "https://eslint.org/docs/rules/no-floating-decimal" + url: "https://eslint.org/docs/latest/rules/no-floating-decimal" }, schema: [], diff --git a/lib/rules/no-func-assign.js b/lib/rules/no-func-assign.js index 6e33b03b88d..4cbcbab4a6f 100644 --- a/lib/rules/no-func-assign.js +++ b/lib/rules/no-func-assign.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow reassigning `function` declarations", recommended: true, - url: "https://eslint.org/docs/rules/no-func-assign" + url: "https://eslint.org/docs/latest/rules/no-func-assign" }, schema: [], diff --git a/lib/rules/no-global-assign.js b/lib/rules/no-global-assign.js index 4659dcc94c1..e5b0f4b028a 100644 --- a/lib/rules/no-global-assign.js +++ b/lib/rules/no-global-assign.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow assignments to native objects or read-only global variables", recommended: true, - url: "https://eslint.org/docs/rules/no-global-assign" + url: "https://eslint.org/docs/latest/rules/no-global-assign" }, schema: [ diff --git a/lib/rules/no-implicit-coercion.js b/lib/rules/no-implicit-coercion.js index d4126112597..46f45eec59d 100644 --- a/lib/rules/no-implicit-coercion.js +++ b/lib/rules/no-implicit-coercion.js @@ -193,7 +193,7 @@ module.exports = { docs: { description: "Disallow shorthand type conversions", recommended: false, - url: "https://eslint.org/docs/rules/no-implicit-coercion" + url: "https://eslint.org/docs/latest/rules/no-implicit-coercion" }, fixable: "code", diff --git a/lib/rules/no-implicit-globals.js b/lib/rules/no-implicit-globals.js index de9c4c274d4..bc69029a34b 100644 --- a/lib/rules/no-implicit-globals.js +++ b/lib/rules/no-implicit-globals.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow declarations in the global scope", recommended: false, - url: "https://eslint.org/docs/rules/no-implicit-globals" + url: "https://eslint.org/docs/latest/rules/no-implicit-globals" }, schema: [{ diff --git a/lib/rules/no-implied-eval.js b/lib/rules/no-implied-eval.js index c99af2d3968..9ce7b4f565a 100644 --- a/lib/rules/no-implied-eval.js +++ b/lib/rules/no-implied-eval.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow the use of `eval()`-like methods", recommended: false, - url: "https://eslint.org/docs/rules/no-implied-eval" + url: "https://eslint.org/docs/latest/rules/no-implied-eval" }, schema: [], diff --git a/lib/rules/no-import-assign.js b/lib/rules/no-import-assign.js index 2c616b49fc8..9f4d5809676 100644 --- a/lib/rules/no-import-assign.js +++ b/lib/rules/no-import-assign.js @@ -182,7 +182,7 @@ module.exports = { docs: { description: "Disallow assigning to imported bindings", recommended: true, - url: "https://eslint.org/docs/rules/no-import-assign" + url: "https://eslint.org/docs/latest/rules/no-import-assign" }, schema: [], diff --git a/lib/rules/no-inline-comments.js b/lib/rules/no-inline-comments.js index 366f567f670..9be6615ffc3 100644 --- a/lib/rules/no-inline-comments.js +++ b/lib/rules/no-inline-comments.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow inline comments after code", recommended: false, - url: "https://eslint.org/docs/rules/no-inline-comments" + url: "https://eslint.org/docs/latest/rules/no-inline-comments" }, schema: [ diff --git a/lib/rules/no-inner-declarations.js b/lib/rules/no-inner-declarations.js index 932816641e0..f4bae43e58d 100644 --- a/lib/rules/no-inner-declarations.js +++ b/lib/rules/no-inner-declarations.js @@ -50,7 +50,7 @@ module.exports = { docs: { description: "Disallow variable or `function` declarations in nested blocks", recommended: true, - url: "https://eslint.org/docs/rules/no-inner-declarations" + url: "https://eslint.org/docs/latest/rules/no-inner-declarations" }, schema: [ diff --git a/lib/rules/no-invalid-regexp.js b/lib/rules/no-invalid-regexp.js index b2e11a00821..9a35743d122 100644 --- a/lib/rules/no-invalid-regexp.js +++ b/lib/rules/no-invalid-regexp.js @@ -25,7 +25,7 @@ module.exports = { docs: { description: "Disallow invalid regular expression strings in `RegExp` constructors", recommended: true, - url: "https://eslint.org/docs/rules/no-invalid-regexp" + url: "https://eslint.org/docs/latest/rules/no-invalid-regexp" }, schema: [{ diff --git a/lib/rules/no-invalid-this.js b/lib/rules/no-invalid-this.js index 1048f22861a..51335511aa5 100644 --- a/lib/rules/no-invalid-this.js +++ b/lib/rules/no-invalid-this.js @@ -38,7 +38,7 @@ module.exports = { docs: { description: "Disallow use of `this` in contexts where the value of `this` is `undefined`", recommended: false, - url: "https://eslint.org/docs/rules/no-invalid-this" + url: "https://eslint.org/docs/latest/rules/no-invalid-this" }, schema: [ diff --git a/lib/rules/no-irregular-whitespace.js b/lib/rules/no-irregular-whitespace.js index d1646c7b8a1..dea9947f442 100644 --- a/lib/rules/no-irregular-whitespace.js +++ b/lib/rules/no-irregular-whitespace.js @@ -33,7 +33,7 @@ module.exports = { docs: { description: "Disallow irregular whitespace", recommended: true, - url: "https://eslint.org/docs/rules/no-irregular-whitespace" + url: "https://eslint.org/docs/latest/rules/no-irregular-whitespace" }, schema: [ diff --git a/lib/rules/no-iterator.js b/lib/rules/no-iterator.js index 3550c7b111b..dcd9683b455 100644 --- a/lib/rules/no-iterator.js +++ b/lib/rules/no-iterator.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow the use of the `__iterator__` property", recommended: false, - url: "https://eslint.org/docs/rules/no-iterator" + url: "https://eslint.org/docs/latest/rules/no-iterator" }, schema: [], diff --git a/lib/rules/no-label-var.js b/lib/rules/no-label-var.js index 440d09d149d..329d7f136b4 100644 --- a/lib/rules/no-label-var.js +++ b/lib/rules/no-label-var.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow labels that share a name with a variable", recommended: false, - url: "https://eslint.org/docs/rules/no-label-var" + url: "https://eslint.org/docs/latest/rules/no-label-var" }, schema: [], diff --git a/lib/rules/no-labels.js b/lib/rules/no-labels.js index 7257307f0cd..d991a0a8062 100644 --- a/lib/rules/no-labels.js +++ b/lib/rules/no-labels.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow labeled statements", recommended: false, - url: "https://eslint.org/docs/rules/no-labels" + url: "https://eslint.org/docs/latest/rules/no-labels" }, schema: [ diff --git a/lib/rules/no-lone-blocks.js b/lib/rules/no-lone-blocks.js index c31439b6ae2..bfd546cdd87 100644 --- a/lib/rules/no-lone-blocks.js +++ b/lib/rules/no-lone-blocks.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow unnecessary nested blocks", recommended: false, - url: "https://eslint.org/docs/rules/no-lone-blocks" + url: "https://eslint.org/docs/latest/rules/no-lone-blocks" }, schema: [], diff --git a/lib/rules/no-lonely-if.js b/lib/rules/no-lonely-if.js index 63a7859825f..562b110d7b5 100644 --- a/lib/rules/no-lonely-if.js +++ b/lib/rules/no-lonely-if.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow `if` statements as the only statement in `else` blocks", recommended: false, - url: "https://eslint.org/docs/rules/no-lonely-if" + url: "https://eslint.org/docs/latest/rules/no-lonely-if" }, schema: [], diff --git a/lib/rules/no-loop-func.js b/lib/rules/no-loop-func.js index ff066817226..0f222eb35ba 100644 --- a/lib/rules/no-loop-func.js +++ b/lib/rules/no-loop-func.js @@ -156,7 +156,7 @@ module.exports = { docs: { description: "Disallow function declarations that contain unsafe references inside loop statements", recommended: false, - url: "https://eslint.org/docs/rules/no-loop-func" + url: "https://eslint.org/docs/latest/rules/no-loop-func" }, schema: [], diff --git a/lib/rules/no-loss-of-precision.js b/lib/rules/no-loss-of-precision.js index 3b2ab9c2f45..22ca7f93e3a 100644 --- a/lib/rules/no-loss-of-precision.js +++ b/lib/rules/no-loss-of-precision.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow literal numbers that lose precision", recommended: true, - url: "https://eslint.org/docs/rules/no-loss-of-precision" + url: "https://eslint.org/docs/latest/rules/no-loss-of-precision" }, schema: [], messages: { diff --git a/lib/rules/no-magic-numbers.js b/lib/rules/no-magic-numbers.js index 786e595220a..f48a62d85cd 100644 --- a/lib/rules/no-magic-numbers.js +++ b/lib/rules/no-magic-numbers.js @@ -34,7 +34,7 @@ module.exports = { docs: { description: "Disallow magic numbers", recommended: false, - url: "https://eslint.org/docs/rules/no-magic-numbers" + url: "https://eslint.org/docs/latest/rules/no-magic-numbers" }, schema: [{ diff --git a/lib/rules/no-misleading-character-class.js b/lib/rules/no-misleading-character-class.js index ddbcaefd549..e216c38159d 100644 --- a/lib/rules/no-misleading-character-class.js +++ b/lib/rules/no-misleading-character-class.js @@ -108,7 +108,7 @@ module.exports = { docs: { description: "Disallow characters which are made with multiple code points in character class syntax", recommended: true, - url: "https://eslint.org/docs/rules/no-misleading-character-class" + url: "https://eslint.org/docs/latest/rules/no-misleading-character-class" }, hasSuggestions: true, diff --git a/lib/rules/no-mixed-operators.js b/lib/rules/no-mixed-operators.js index cb6e9363c15..93b874f24ef 100644 --- a/lib/rules/no-mixed-operators.js +++ b/lib/rules/no-mixed-operators.js @@ -90,7 +90,7 @@ module.exports = { docs: { description: "Disallow mixed binary operators", recommended: false, - url: "https://eslint.org/docs/rules/no-mixed-operators" + url: "https://eslint.org/docs/latest/rules/no-mixed-operators" }, schema: [ diff --git a/lib/rules/no-mixed-requires.js b/lib/rules/no-mixed-requires.js index 4e970574416..9e7b8039062 100644 --- a/lib/rules/no-mixed-requires.js +++ b/lib/rules/no-mixed-requires.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow `require` calls to be mixed with regular variable declarations", recommended: false, - url: "https://eslint.org/docs/rules/no-mixed-requires" + url: "https://eslint.org/docs/latest/rules/no-mixed-requires" }, schema: [ diff --git a/lib/rules/no-mixed-spaces-and-tabs.js b/lib/rules/no-mixed-spaces-and-tabs.js index b2d5a040b84..51a6ef65476 100644 --- a/lib/rules/no-mixed-spaces-and-tabs.js +++ b/lib/rules/no-mixed-spaces-and-tabs.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow mixed spaces and tabs for indentation", recommended: true, - url: "https://eslint.org/docs/rules/no-mixed-spaces-and-tabs" + url: "https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs" }, schema: [ diff --git a/lib/rules/no-multi-assign.js b/lib/rules/no-multi-assign.js index 392b33ffd2d..a7a50c19495 100644 --- a/lib/rules/no-multi-assign.js +++ b/lib/rules/no-multi-assign.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow use of chained assignment expressions", recommended: false, - url: "https://eslint.org/docs/rules/no-multi-assign" + url: "https://eslint.org/docs/latest/rules/no-multi-assign" }, schema: [{ diff --git a/lib/rules/no-multi-spaces.js b/lib/rules/no-multi-spaces.js index d8d3c6509cc..eb0603b1fed 100644 --- a/lib/rules/no-multi-spaces.js +++ b/lib/rules/no-multi-spaces.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow multiple spaces", recommended: false, - url: "https://eslint.org/docs/rules/no-multi-spaces" + url: "https://eslint.org/docs/latest/rules/no-multi-spaces" }, fixable: "whitespace", diff --git a/lib/rules/no-multi-str.js b/lib/rules/no-multi-str.js index c4400f45ee6..8011729ec60 100644 --- a/lib/rules/no-multi-str.js +++ b/lib/rules/no-multi-str.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow multiline strings", recommended: false, - url: "https://eslint.org/docs/rules/no-multi-str" + url: "https://eslint.org/docs/latest/rules/no-multi-str" }, schema: [], diff --git a/lib/rules/no-multiple-empty-lines.js b/lib/rules/no-multiple-empty-lines.js index e8b0f9859c0..e6bbf190d73 100644 --- a/lib/rules/no-multiple-empty-lines.js +++ b/lib/rules/no-multiple-empty-lines.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow multiple empty lines", recommended: false, - url: "https://eslint.org/docs/rules/no-multiple-empty-lines" + url: "https://eslint.org/docs/latest/rules/no-multiple-empty-lines" }, fixable: "whitespace", diff --git a/lib/rules/no-native-reassign.js b/lib/rules/no-native-reassign.js index 27fd38ab86a..6399b6ea698 100644 --- a/lib/rules/no-native-reassign.js +++ b/lib/rules/no-native-reassign.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow assignments to native objects or read-only global variables", recommended: false, - url: "https://eslint.org/docs/rules/no-native-reassign" + url: "https://eslint.org/docs/latest/rules/no-native-reassign" }, deprecated: true, diff --git a/lib/rules/no-negated-condition.js b/lib/rules/no-negated-condition.js index 387617767fa..3cb759049d9 100644 --- a/lib/rules/no-negated-condition.js +++ b/lib/rules/no-negated-condition.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow negated conditions", recommended: false, - url: "https://eslint.org/docs/rules/no-negated-condition" + url: "https://eslint.org/docs/latest/rules/no-negated-condition" }, schema: [], diff --git a/lib/rules/no-negated-in-lhs.js b/lib/rules/no-negated-in-lhs.js index 975a8d75cb1..7a50be7f2e7 100644 --- a/lib/rules/no-negated-in-lhs.js +++ b/lib/rules/no-negated-in-lhs.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow negating the left operand in `in` expressions", recommended: false, - url: "https://eslint.org/docs/rules/no-negated-in-lhs" + url: "https://eslint.org/docs/latest/rules/no-negated-in-lhs" }, replacedBy: ["no-unsafe-negation"], diff --git a/lib/rules/no-nested-ternary.js b/lib/rules/no-nested-ternary.js index fe97823416b..faf80416c3f 100644 --- a/lib/rules/no-nested-ternary.js +++ b/lib/rules/no-nested-ternary.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow nested ternary expressions", recommended: false, - url: "https://eslint.org/docs/rules/no-nested-ternary" + url: "https://eslint.org/docs/latest/rules/no-nested-ternary" }, schema: [], diff --git a/lib/rules/no-new-func.js b/lib/rules/no-new-func.js index 4680ae5d7ca..86a5f7080db 100644 --- a/lib/rules/no-new-func.js +++ b/lib/rules/no-new-func.js @@ -29,7 +29,7 @@ module.exports = { docs: { description: "Disallow `new` operators with the `Function` object", recommended: false, - url: "https://eslint.org/docs/rules/no-new-func" + url: "https://eslint.org/docs/latest/rules/no-new-func" }, schema: [], diff --git a/lib/rules/no-new-native-nonconstructor.js b/lib/rules/no-new-native-nonconstructor.js index 05171c92b32..97fa588220c 100644 --- a/lib/rules/no-new-native-nonconstructor.js +++ b/lib/rules/no-new-native-nonconstructor.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow `new` operators with global non-constructor functions", recommended: false, - url: "https://eslint.org/docs/rules/no-new-native-nonconstructor" + url: "https://eslint.org/docs/latest/rules/no-new-native-nonconstructor" }, schema: [], diff --git a/lib/rules/no-new-object.js b/lib/rules/no-new-object.js index 6351a279fa1..60073b32d34 100644 --- a/lib/rules/no-new-object.js +++ b/lib/rules/no-new-object.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow `Object` constructors", recommended: false, - url: "https://eslint.org/docs/rules/no-new-object" + url: "https://eslint.org/docs/latest/rules/no-new-object" }, schema: [], diff --git a/lib/rules/no-new-require.js b/lib/rules/no-new-require.js index 63ca057b741..6abfc17c845 100644 --- a/lib/rules/no-new-require.js +++ b/lib/rules/no-new-require.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow `new` operators with calls to `require`", recommended: false, - url: "https://eslint.org/docs/rules/no-new-require" + url: "https://eslint.org/docs/latest/rules/no-new-require" }, schema: [], diff --git a/lib/rules/no-new-symbol.js b/lib/rules/no-new-symbol.js index 551f4a9a414..2bcec247354 100644 --- a/lib/rules/no-new-symbol.js +++ b/lib/rules/no-new-symbol.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow `new` operators with the `Symbol` object", recommended: true, - url: "https://eslint.org/docs/rules/no-new-symbol" + url: "https://eslint.org/docs/latest/rules/no-new-symbol" }, schema: [], diff --git a/lib/rules/no-new-wrappers.js b/lib/rules/no-new-wrappers.js index ff44efc5930..9a12e1a3b5d 100644 --- a/lib/rules/no-new-wrappers.js +++ b/lib/rules/no-new-wrappers.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow `new` operators with the `String`, `Number`, and `Boolean` objects", recommended: false, - url: "https://eslint.org/docs/rules/no-new-wrappers" + url: "https://eslint.org/docs/latest/rules/no-new-wrappers" }, schema: [], diff --git a/lib/rules/no-new.js b/lib/rules/no-new.js index c4345057588..9e20bad7b6e 100644 --- a/lib/rules/no-new.js +++ b/lib/rules/no-new.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow `new` operators outside of assignments or comparisons", recommended: false, - url: "https://eslint.org/docs/rules/no-new" + url: "https://eslint.org/docs/latest/rules/no-new" }, schema: [], diff --git a/lib/rules/no-nonoctal-decimal-escape.js b/lib/rules/no-nonoctal-decimal-escape.js index 63e2264b33a..57252f4a5a2 100644 --- a/lib/rules/no-nonoctal-decimal-escape.js +++ b/lib/rules/no-nonoctal-decimal-escape.js @@ -32,7 +32,7 @@ module.exports = { docs: { description: "Disallow `\\8` and `\\9` escape sequences in string literals", recommended: true, - url: "https://eslint.org/docs/rules/no-nonoctal-decimal-escape" + url: "https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape" }, hasSuggestions: true, diff --git a/lib/rules/no-obj-calls.js b/lib/rules/no-obj-calls.js index 40df43e1501..abf0feb55e3 100644 --- a/lib/rules/no-obj-calls.js +++ b/lib/rules/no-obj-calls.js @@ -45,7 +45,7 @@ module.exports = { docs: { description: "Disallow calling global object properties as functions", recommended: true, - url: "https://eslint.org/docs/rules/no-obj-calls" + url: "https://eslint.org/docs/latest/rules/no-obj-calls" }, schema: [], diff --git a/lib/rules/no-octal-escape.js b/lib/rules/no-octal-escape.js index 81a8a74cddb..6924d5419d5 100644 --- a/lib/rules/no-octal-escape.js +++ b/lib/rules/no-octal-escape.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow octal escape sequences in string literals", recommended: false, - url: "https://eslint.org/docs/rules/no-octal-escape" + url: "https://eslint.org/docs/latest/rules/no-octal-escape" }, schema: [], diff --git a/lib/rules/no-octal.js b/lib/rules/no-octal.js index eec56919f1e..dc027696a8e 100644 --- a/lib/rules/no-octal.js +++ b/lib/rules/no-octal.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow octal literals", recommended: true, - url: "https://eslint.org/docs/rules/no-octal" + url: "https://eslint.org/docs/latest/rules/no-octal" }, schema: [], diff --git a/lib/rules/no-param-reassign.js b/lib/rules/no-param-reassign.js index f7ab0e1e1bf..ac389b5bbbb 100644 --- a/lib/rules/no-param-reassign.js +++ b/lib/rules/no-param-reassign.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow reassigning `function` parameters", recommended: false, - url: "https://eslint.org/docs/rules/no-param-reassign" + url: "https://eslint.org/docs/latest/rules/no-param-reassign" }, schema: [ diff --git a/lib/rules/no-path-concat.js b/lib/rules/no-path-concat.js index 8502c511ed9..2e4a3a21cd3 100644 --- a/lib/rules/no-path-concat.js +++ b/lib/rules/no-path-concat.js @@ -21,7 +21,7 @@ module.exports = { docs: { description: "Disallow string concatenation with `__dirname` and `__filename`", recommended: false, - url: "https://eslint.org/docs/rules/no-path-concat" + url: "https://eslint.org/docs/latest/rules/no-path-concat" }, schema: [], diff --git a/lib/rules/no-plusplus.js b/lib/rules/no-plusplus.js index cda6b05bfa8..22a6fd01350 100644 --- a/lib/rules/no-plusplus.js +++ b/lib/rules/no-plusplus.js @@ -53,7 +53,7 @@ module.exports = { docs: { description: "Disallow the unary operators `++` and `--`", recommended: false, - url: "https://eslint.org/docs/rules/no-plusplus" + url: "https://eslint.org/docs/latest/rules/no-plusplus" }, schema: [ diff --git a/lib/rules/no-process-env.js b/lib/rules/no-process-env.js index 5db7c94b13b..8dac648ff6b 100644 --- a/lib/rules/no-process-env.js +++ b/lib/rules/no-process-env.js @@ -21,7 +21,7 @@ module.exports = { docs: { description: "Disallow the use of `process.env`", recommended: false, - url: "https://eslint.org/docs/rules/no-process-env" + url: "https://eslint.org/docs/latest/rules/no-process-env" }, schema: [], diff --git a/lib/rules/no-process-exit.js b/lib/rules/no-process-exit.js index ca3ecfe6f5f..fa398a72e56 100644 --- a/lib/rules/no-process-exit.js +++ b/lib/rules/no-process-exit.js @@ -21,7 +21,7 @@ module.exports = { docs: { description: "Disallow the use of `process.exit()`", recommended: false, - url: "https://eslint.org/docs/rules/no-process-exit" + url: "https://eslint.org/docs/latest/rules/no-process-exit" }, schema: [], diff --git a/lib/rules/no-promise-executor-return.js b/lib/rules/no-promise-executor-return.js index 2a99c6fe812..964446abd72 100644 --- a/lib/rules/no-promise-executor-return.js +++ b/lib/rules/no-promise-executor-return.js @@ -71,7 +71,7 @@ module.exports = { docs: { description: "Disallow returning values from Promise executor functions", recommended: false, - url: "https://eslint.org/docs/rules/no-promise-executor-return" + url: "https://eslint.org/docs/latest/rules/no-promise-executor-return" }, schema: [], diff --git a/lib/rules/no-proto.js b/lib/rules/no-proto.js index 771d206a88d..28320d5d5e5 100644 --- a/lib/rules/no-proto.js +++ b/lib/rules/no-proto.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow the use of the `__proto__` property", recommended: false, - url: "https://eslint.org/docs/rules/no-proto" + url: "https://eslint.org/docs/latest/rules/no-proto" }, schema: [], diff --git a/lib/rules/no-prototype-builtins.js b/lib/rules/no-prototype-builtins.js index ea2763396d0..a7a57bc119e 100644 --- a/lib/rules/no-prototype-builtins.js +++ b/lib/rules/no-prototype-builtins.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow calling some `Object.prototype` methods directly on objects", recommended: true, - url: "https://eslint.org/docs/rules/no-prototype-builtins" + url: "https://eslint.org/docs/latest/rules/no-prototype-builtins" }, schema: [], diff --git a/lib/rules/no-redeclare.js b/lib/rules/no-redeclare.js index c16c030f9a1..a33565bf73e 100644 --- a/lib/rules/no-redeclare.js +++ b/lib/rules/no-redeclare.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow variable redeclaration", recommended: true, - url: "https://eslint.org/docs/rules/no-redeclare" + url: "https://eslint.org/docs/latest/rules/no-redeclare" }, messages: { diff --git a/lib/rules/no-regex-spaces.js b/lib/rules/no-regex-spaces.js index 48ee8c3d024..6252badf5d7 100644 --- a/lib/rules/no-regex-spaces.js +++ b/lib/rules/no-regex-spaces.js @@ -41,7 +41,7 @@ module.exports = { docs: { description: "Disallow multiple spaces in regular expressions", recommended: true, - url: "https://eslint.org/docs/rules/no-regex-spaces" + url: "https://eslint.org/docs/latest/rules/no-regex-spaces" }, schema: [], diff --git a/lib/rules/no-restricted-exports.js b/lib/rules/no-restricted-exports.js index 6fd247e981c..e237005fb87 100644 --- a/lib/rules/no-restricted-exports.js +++ b/lib/rules/no-restricted-exports.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow specified names in exports", recommended: false, - url: "https://eslint.org/docs/rules/no-restricted-exports" + url: "https://eslint.org/docs/latest/rules/no-restricted-exports" }, schema: [{ diff --git a/lib/rules/no-restricted-globals.js b/lib/rules/no-restricted-globals.js index ffc39c801f0..a211a7e2673 100644 --- a/lib/rules/no-restricted-globals.js +++ b/lib/rules/no-restricted-globals.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow specified global variables", recommended: false, - url: "https://eslint.org/docs/rules/no-restricted-globals" + url: "https://eslint.org/docs/latest/rules/no-restricted-globals" }, schema: { diff --git a/lib/rules/no-restricted-imports.js b/lib/rules/no-restricted-imports.js index f4838679efc..1d910773e5b 100644 --- a/lib/rules/no-restricted-imports.js +++ b/lib/rules/no-restricted-imports.js @@ -98,7 +98,7 @@ module.exports = { docs: { description: "Disallow specified modules when loaded by `import`", recommended: false, - url: "https://eslint.org/docs/rules/no-restricted-imports" + url: "https://eslint.org/docs/latest/rules/no-restricted-imports" }, messages: { diff --git a/lib/rules/no-restricted-modules.js b/lib/rules/no-restricted-modules.js index c37694f9046..d79bdbe5748 100644 --- a/lib/rules/no-restricted-modules.js +++ b/lib/rules/no-restricted-modules.js @@ -51,7 +51,7 @@ module.exports = { docs: { description: "Disallow specified modules when loaded by `require`", recommended: false, - url: "https://eslint.org/docs/rules/no-restricted-modules" + url: "https://eslint.org/docs/latest/rules/no-restricted-modules" }, schema: { diff --git a/lib/rules/no-restricted-properties.js b/lib/rules/no-restricted-properties.js index 7c03498563f..b0766326099 100644 --- a/lib/rules/no-restricted-properties.js +++ b/lib/rules/no-restricted-properties.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow certain properties on certain objects", recommended: false, - url: "https://eslint.org/docs/rules/no-restricted-properties" + url: "https://eslint.org/docs/latest/rules/no-restricted-properties" }, schema: { diff --git a/lib/rules/no-restricted-syntax.js b/lib/rules/no-restricted-syntax.js index 76369cfd539..930882c330a 100644 --- a/lib/rules/no-restricted-syntax.js +++ b/lib/rules/no-restricted-syntax.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow specified syntax", recommended: false, - url: "https://eslint.org/docs/rules/no-restricted-syntax" + url: "https://eslint.org/docs/latest/rules/no-restricted-syntax" }, schema: { diff --git a/lib/rules/no-return-assign.js b/lib/rules/no-return-assign.js index ccaf2c1c158..6d5bddf361b 100644 --- a/lib/rules/no-return-assign.js +++ b/lib/rules/no-return-assign.js @@ -28,7 +28,7 @@ module.exports = { docs: { description: "Disallow assignment operators in `return` statements", recommended: false, - url: "https://eslint.org/docs/rules/no-return-assign" + url: "https://eslint.org/docs/latest/rules/no-return-assign" }, schema: [ diff --git a/lib/rules/no-return-await.js b/lib/rules/no-return-await.js index ecfd6697a13..b7ec40bb607 100644 --- a/lib/rules/no-return-await.js +++ b/lib/rules/no-return-await.js @@ -21,7 +21,7 @@ module.exports = { recommended: false, - url: "https://eslint.org/docs/rules/no-return-await" + url: "https://eslint.org/docs/latest/rules/no-return-await" }, fixable: null, diff --git a/lib/rules/no-script-url.js b/lib/rules/no-script-url.js index 41479006ee9..1d16bde3c4f 100644 --- a/lib/rules/no-script-url.js +++ b/lib/rules/no-script-url.js @@ -20,7 +20,7 @@ module.exports = { docs: { description: "Disallow `javascript:` urls", recommended: false, - url: "https://eslint.org/docs/rules/no-script-url" + url: "https://eslint.org/docs/latest/rules/no-script-url" }, schema: [], diff --git a/lib/rules/no-self-assign.js b/lib/rules/no-self-assign.js index 348ee8dfc5f..d12e732a815 100644 --- a/lib/rules/no-self-assign.js +++ b/lib/rules/no-self-assign.js @@ -132,7 +132,7 @@ module.exports = { docs: { description: "Disallow assignments where both sides are exactly the same", recommended: true, - url: "https://eslint.org/docs/rules/no-self-assign" + url: "https://eslint.org/docs/latest/rules/no-self-assign" }, schema: [ diff --git a/lib/rules/no-self-compare.js b/lib/rules/no-self-compare.js index dab0db4b917..e966ca1922c 100644 --- a/lib/rules/no-self-compare.js +++ b/lib/rules/no-self-compare.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow comparisons where both sides are exactly the same", recommended: false, - url: "https://eslint.org/docs/rules/no-self-compare" + url: "https://eslint.org/docs/latest/rules/no-self-compare" }, schema: [], diff --git a/lib/rules/no-sequences.js b/lib/rules/no-sequences.js index 2c0c27c3fea..3f226bab859 100644 --- a/lib/rules/no-sequences.js +++ b/lib/rules/no-sequences.js @@ -31,7 +31,7 @@ module.exports = { docs: { description: "Disallow comma operators", recommended: false, - url: "https://eslint.org/docs/rules/no-sequences" + url: "https://eslint.org/docs/latest/rules/no-sequences" }, schema: [{ diff --git a/lib/rules/no-setter-return.js b/lib/rules/no-setter-return.js index 46969d6dd70..77b9dd4591b 100644 --- a/lib/rules/no-setter-return.js +++ b/lib/rules/no-setter-return.js @@ -144,7 +144,7 @@ module.exports = { docs: { description: "Disallow returning values from setters", recommended: true, - url: "https://eslint.org/docs/rules/no-setter-return" + url: "https://eslint.org/docs/latest/rules/no-setter-return" }, schema: [], diff --git a/lib/rules/no-shadow-restricted-names.js b/lib/rules/no-shadow-restricted-names.js index 377d450cc77..2024c309557 100644 --- a/lib/rules/no-shadow-restricted-names.js +++ b/lib/rules/no-shadow-restricted-names.js @@ -29,7 +29,7 @@ module.exports = { docs: { description: "Disallow identifiers from shadowing restricted names", recommended: true, - url: "https://eslint.org/docs/rules/no-shadow-restricted-names" + url: "https://eslint.org/docs/latest/rules/no-shadow-restricted-names" }, schema: [], diff --git a/lib/rules/no-shadow.js b/lib/rules/no-shadow.js index dda9f5fd7be..b50db5bb5bf 100644 --- a/lib/rules/no-shadow.js +++ b/lib/rules/no-shadow.js @@ -32,7 +32,7 @@ module.exports = { docs: { description: "Disallow variable declarations from shadowing variables declared in the outer scope", recommended: false, - url: "https://eslint.org/docs/rules/no-shadow" + url: "https://eslint.org/docs/latest/rules/no-shadow" }, schema: [ diff --git a/lib/rules/no-spaced-func.js b/lib/rules/no-spaced-func.js index 97e2da06b0f..91836df51fe 100644 --- a/lib/rules/no-spaced-func.js +++ b/lib/rules/no-spaced-func.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Disallow spacing between function identifiers and their applications (deprecated)", recommended: false, - url: "https://eslint.org/docs/rules/no-spaced-func" + url: "https://eslint.org/docs/latest/rules/no-spaced-func" }, deprecated: true, diff --git a/lib/rules/no-sparse-arrays.js b/lib/rules/no-sparse-arrays.js index 0e95fe4af7b..c65b0ab2c12 100644 --- a/lib/rules/no-sparse-arrays.js +++ b/lib/rules/no-sparse-arrays.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow sparse arrays", recommended: true, - url: "https://eslint.org/docs/rules/no-sparse-arrays" + url: "https://eslint.org/docs/latest/rules/no-sparse-arrays" }, schema: [], diff --git a/lib/rules/no-sync.js b/lib/rules/no-sync.js index 71360c6bd32..8f79a36b40e 100644 --- a/lib/rules/no-sync.js +++ b/lib/rules/no-sync.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow synchronous methods", recommended: false, - url: "https://eslint.org/docs/rules/no-sync" + url: "https://eslint.org/docs/latest/rules/no-sync" }, schema: [ diff --git a/lib/rules/no-tabs.js b/lib/rules/no-tabs.js index 1b4834e09a7..3672aa2d592 100644 --- a/lib/rules/no-tabs.js +++ b/lib/rules/no-tabs.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Disallow all tabs", recommended: false, - url: "https://eslint.org/docs/rules/no-tabs" + url: "https://eslint.org/docs/latest/rules/no-tabs" }, schema: [{ type: "object", diff --git a/lib/rules/no-template-curly-in-string.js b/lib/rules/no-template-curly-in-string.js index 4f4e9ee17e9..92b4c1c86cd 100644 --- a/lib/rules/no-template-curly-in-string.js +++ b/lib/rules/no-template-curly-in-string.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow template literal placeholder syntax in regular strings", recommended: false, - url: "https://eslint.org/docs/rules/no-template-curly-in-string" + url: "https://eslint.org/docs/latest/rules/no-template-curly-in-string" }, schema: [], diff --git a/lib/rules/no-ternary.js b/lib/rules/no-ternary.js index a185808a69a..4d43c7e022d 100644 --- a/lib/rules/no-ternary.js +++ b/lib/rules/no-ternary.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow ternary operators", recommended: false, - url: "https://eslint.org/docs/rules/no-ternary" + url: "https://eslint.org/docs/latest/rules/no-ternary" }, schema: [], diff --git a/lib/rules/no-this-before-super.js b/lib/rules/no-this-before-super.js index b4e48e86264..139bb6649d1 100644 --- a/lib/rules/no-this-before-super.js +++ b/lib/rules/no-this-before-super.js @@ -42,7 +42,7 @@ module.exports = { docs: { description: "Disallow `this`/`super` before calling `super()` in constructors", recommended: true, - url: "https://eslint.org/docs/rules/no-this-before-super" + url: "https://eslint.org/docs/latest/rules/no-this-before-super" }, schema: [], diff --git a/lib/rules/no-throw-literal.js b/lib/rules/no-throw-literal.js index 3656c83a3ff..07a0df62dff 100644 --- a/lib/rules/no-throw-literal.js +++ b/lib/rules/no-throw-literal.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow throwing literals as exceptions", recommended: false, - url: "https://eslint.org/docs/rules/no-throw-literal" + url: "https://eslint.org/docs/latest/rules/no-throw-literal" }, schema: [], diff --git a/lib/rules/no-trailing-spaces.js b/lib/rules/no-trailing-spaces.js index a02a880e1d6..05aeace7a1c 100644 --- a/lib/rules/no-trailing-spaces.js +++ b/lib/rules/no-trailing-spaces.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow trailing whitespace at the end of lines", recommended: false, - url: "https://eslint.org/docs/rules/no-trailing-spaces" + url: "https://eslint.org/docs/latest/rules/no-trailing-spaces" }, fixable: "whitespace", diff --git a/lib/rules/no-undef-init.js b/lib/rules/no-undef-init.js index 6e8a1fad72a..1efe8292025 100644 --- a/lib/rules/no-undef-init.js +++ b/lib/rules/no-undef-init.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Disallow initializing variables to `undefined`", recommended: false, - url: "https://eslint.org/docs/rules/no-undef-init" + url: "https://eslint.org/docs/latest/rules/no-undef-init" }, schema: [], diff --git a/lib/rules/no-undef.js b/lib/rules/no-undef.js index 4cd3fa9b679..397770a71da 100644 --- a/lib/rules/no-undef.js +++ b/lib/rules/no-undef.js @@ -31,7 +31,7 @@ module.exports = { docs: { description: "Disallow the use of undeclared variables unless mentioned in `/*global */` comments", recommended: true, - url: "https://eslint.org/docs/rules/no-undef" + url: "https://eslint.org/docs/latest/rules/no-undef" }, schema: [ diff --git a/lib/rules/no-undefined.js b/lib/rules/no-undefined.js index 7203894c397..a939eb13370 100644 --- a/lib/rules/no-undefined.js +++ b/lib/rules/no-undefined.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow the use of `undefined` as an identifier", recommended: false, - url: "https://eslint.org/docs/rules/no-undefined" + url: "https://eslint.org/docs/latest/rules/no-undefined" }, schema: [], diff --git a/lib/rules/no-underscore-dangle.js b/lib/rules/no-underscore-dangle.js index 55201f5bd3e..a7ca6a4569d 100644 --- a/lib/rules/no-underscore-dangle.js +++ b/lib/rules/no-underscore-dangle.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow dangling underscores in identifiers", recommended: false, - url: "https://eslint.org/docs/rules/no-underscore-dangle" + url: "https://eslint.org/docs/latest/rules/no-underscore-dangle" }, schema: [ diff --git a/lib/rules/no-unexpected-multiline.js b/lib/rules/no-unexpected-multiline.js index 2ca6731bc67..0ed1ec99afc 100644 --- a/lib/rules/no-unexpected-multiline.js +++ b/lib/rules/no-unexpected-multiline.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow confusing multiline expressions", recommended: true, - url: "https://eslint.org/docs/rules/no-unexpected-multiline" + url: "https://eslint.org/docs/latest/rules/no-unexpected-multiline" }, schema: [], diff --git a/lib/rules/no-unmodified-loop-condition.js b/lib/rules/no-unmodified-loop-condition.js index 3df0a7d87df..666f470f507 100644 --- a/lib/rules/no-unmodified-loop-condition.js +++ b/lib/rules/no-unmodified-loop-condition.js @@ -164,7 +164,7 @@ module.exports = { docs: { description: "Disallow unmodified loop conditions", recommended: false, - url: "https://eslint.org/docs/rules/no-unmodified-loop-condition" + url: "https://eslint.org/docs/latest/rules/no-unmodified-loop-condition" }, schema: [], diff --git a/lib/rules/no-unneeded-ternary.js b/lib/rules/no-unneeded-ternary.js index 80b83ac9ded..8f2bb1a39dd 100644 --- a/lib/rules/no-unneeded-ternary.js +++ b/lib/rules/no-unneeded-ternary.js @@ -31,7 +31,7 @@ module.exports = { docs: { description: "Disallow ternary operators when simpler alternatives exist", recommended: false, - url: "https://eslint.org/docs/rules/no-unneeded-ternary" + url: "https://eslint.org/docs/latest/rules/no-unneeded-ternary" }, schema: [ diff --git a/lib/rules/no-unreachable-loop.js b/lib/rules/no-unreachable-loop.js index c42c922e0c4..1df764e17d8 100644 --- a/lib/rules/no-unreachable-loop.js +++ b/lib/rules/no-unreachable-loop.js @@ -61,7 +61,7 @@ module.exports = { docs: { description: "Disallow loops with a body that allows only one iteration", recommended: false, - url: "https://eslint.org/docs/rules/no-unreachable-loop" + url: "https://eslint.org/docs/latest/rules/no-unreachable-loop" }, schema: [{ diff --git a/lib/rules/no-unreachable.js b/lib/rules/no-unreachable.js index dea86815aac..356b25e1b9e 100644 --- a/lib/rules/no-unreachable.js +++ b/lib/rules/no-unreachable.js @@ -113,7 +113,7 @@ module.exports = { docs: { description: "Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements", recommended: true, - url: "https://eslint.org/docs/rules/no-unreachable" + url: "https://eslint.org/docs/latest/rules/no-unreachable" }, schema: [], diff --git a/lib/rules/no-unsafe-finally.js b/lib/rules/no-unsafe-finally.js index 80adb0fea46..ebd24328ffb 100644 --- a/lib/rules/no-unsafe-finally.js +++ b/lib/rules/no-unsafe-finally.js @@ -26,7 +26,7 @@ module.exports = { docs: { description: "Disallow control flow statements in `finally` blocks", recommended: true, - url: "https://eslint.org/docs/rules/no-unsafe-finally" + url: "https://eslint.org/docs/latest/rules/no-unsafe-finally" }, schema: [], diff --git a/lib/rules/no-unsafe-negation.js b/lib/rules/no-unsafe-negation.js index 5dd150f8788..87fbde179c2 100644 --- a/lib/rules/no-unsafe-negation.js +++ b/lib/rules/no-unsafe-negation.js @@ -54,7 +54,7 @@ module.exports = { docs: { description: "Disallow negating the left operand of relational operators", recommended: true, - url: "https://eslint.org/docs/rules/no-unsafe-negation" + url: "https://eslint.org/docs/latest/rules/no-unsafe-negation" }, hasSuggestions: true, diff --git a/lib/rules/no-unsafe-optional-chaining.js b/lib/rules/no-unsafe-optional-chaining.js index 99139078198..fe2bead856e 100644 --- a/lib/rules/no-unsafe-optional-chaining.js +++ b/lib/rules/no-unsafe-optional-chaining.js @@ -26,7 +26,7 @@ module.exports = { docs: { description: "Disallow use of optional chaining in contexts where the `undefined` value is not allowed", recommended: true, - url: "https://eslint.org/docs/rules/no-unsafe-optional-chaining" + url: "https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining" }, schema: [{ type: "object", diff --git a/lib/rules/no-unused-expressions.js b/lib/rules/no-unused-expressions.js index 0ec4c008b28..8337c19487e 100644 --- a/lib/rules/no-unused-expressions.js +++ b/lib/rules/no-unused-expressions.js @@ -32,7 +32,7 @@ module.exports = { docs: { description: "Disallow unused expressions", recommended: false, - url: "https://eslint.org/docs/rules/no-unused-expressions" + url: "https://eslint.org/docs/latest/rules/no-unused-expressions" }, schema: [ diff --git a/lib/rules/no-unused-labels.js b/lib/rules/no-unused-labels.js index 305226a4df2..7840a765765 100644 --- a/lib/rules/no-unused-labels.js +++ b/lib/rules/no-unused-labels.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow unused labels", recommended: true, - url: "https://eslint.org/docs/rules/no-unused-labels" + url: "https://eslint.org/docs/latest/rules/no-unused-labels" }, schema: [], diff --git a/lib/rules/no-unused-private-class-members.js b/lib/rules/no-unused-private-class-members.js index e62a9ed5968..037be7d3eaa 100644 --- a/lib/rules/no-unused-private-class-members.js +++ b/lib/rules/no-unused-private-class-members.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow unused private class members", recommended: false, - url: "https://eslint.org/docs/rules/no-unused-private-class-members" + url: "https://eslint.org/docs/latest/rules/no-unused-private-class-members" }, schema: [], diff --git a/lib/rules/no-unused-vars.js b/lib/rules/no-unused-vars.js index aec02dadac4..f99657ee5cf 100644 --- a/lib/rules/no-unused-vars.js +++ b/lib/rules/no-unused-vars.js @@ -35,7 +35,7 @@ module.exports = { docs: { description: "Disallow unused variables", recommended: true, - url: "https://eslint.org/docs/rules/no-unused-vars" + url: "https://eslint.org/docs/latest/rules/no-unused-vars" }, schema: [ diff --git a/lib/rules/no-use-before-define.js b/lib/rules/no-use-before-define.js index 60cb905b0d6..c5482d23f85 100644 --- a/lib/rules/no-use-before-define.js +++ b/lib/rules/no-use-before-define.js @@ -228,7 +228,7 @@ module.exports = { docs: { description: "Disallow the use of variables before they are defined", recommended: false, - url: "https://eslint.org/docs/rules/no-use-before-define" + url: "https://eslint.org/docs/latest/rules/no-use-before-define" }, schema: [ diff --git a/lib/rules/no-useless-backreference.js b/lib/rules/no-useless-backreference.js index bef1bee11f9..5d19b78b389 100644 --- a/lib/rules/no-useless-backreference.js +++ b/lib/rules/no-useless-backreference.js @@ -66,7 +66,7 @@ module.exports = { docs: { description: "Disallow useless backreferences in regular expressions", recommended: true, - url: "https://eslint.org/docs/rules/no-useless-backreference" + url: "https://eslint.org/docs/latest/rules/no-useless-backreference" }, schema: [], diff --git a/lib/rules/no-useless-call.js b/lib/rules/no-useless-call.js index 2d3ae4e84ae..0fa4af53190 100644 --- a/lib/rules/no-useless-call.js +++ b/lib/rules/no-useless-call.js @@ -57,7 +57,7 @@ module.exports = { docs: { description: "Disallow unnecessary calls to `.call()` and `.apply()`", recommended: false, - url: "https://eslint.org/docs/rules/no-useless-call" + url: "https://eslint.org/docs/latest/rules/no-useless-call" }, schema: [], diff --git a/lib/rules/no-useless-catch.js b/lib/rules/no-useless-catch.js index 36c356ecb42..e02013db627 100644 --- a/lib/rules/no-useless-catch.js +++ b/lib/rules/no-useless-catch.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow unnecessary `catch` clauses", recommended: true, - url: "https://eslint.org/docs/rules/no-useless-catch" + url: "https://eslint.org/docs/latest/rules/no-useless-catch" }, schema: [], diff --git a/lib/rules/no-useless-computed-key.js b/lib/rules/no-useless-computed-key.js index f7f12179b7b..82a0e34a5f8 100644 --- a/lib/rules/no-useless-computed-key.js +++ b/lib/rules/no-useless-computed-key.js @@ -93,7 +93,7 @@ module.exports = { docs: { description: "Disallow unnecessary computed property keys in objects and classes", recommended: false, - url: "https://eslint.org/docs/rules/no-useless-computed-key" + url: "https://eslint.org/docs/latest/rules/no-useless-computed-key" }, schema: [{ diff --git a/lib/rules/no-useless-concat.js b/lib/rules/no-useless-concat.js index 26c5206df36..f18124d8205 100644 --- a/lib/rules/no-useless-concat.js +++ b/lib/rules/no-useless-concat.js @@ -72,7 +72,7 @@ module.exports = { docs: { description: "Disallow unnecessary concatenation of literals or template literals", recommended: false, - url: "https://eslint.org/docs/rules/no-useless-concat" + url: "https://eslint.org/docs/latest/rules/no-useless-concat" }, schema: [], diff --git a/lib/rules/no-useless-constructor.js b/lib/rules/no-useless-constructor.js index 38c3bc3a05c..2b9c18e51cb 100644 --- a/lib/rules/no-useless-constructor.js +++ b/lib/rules/no-useless-constructor.js @@ -140,7 +140,7 @@ module.exports = { docs: { description: "Disallow unnecessary constructors", recommended: false, - url: "https://eslint.org/docs/rules/no-useless-constructor" + url: "https://eslint.org/docs/latest/rules/no-useless-constructor" }, schema: [], diff --git a/lib/rules/no-useless-escape.js b/lib/rules/no-useless-escape.js index 2046a148a17..e836ec4f0d2 100644 --- a/lib/rules/no-useless-escape.js +++ b/lib/rules/no-useless-escape.js @@ -86,7 +86,7 @@ module.exports = { docs: { description: "Disallow unnecessary escape characters", recommended: true, - url: "https://eslint.org/docs/rules/no-useless-escape" + url: "https://eslint.org/docs/latest/rules/no-useless-escape" }, hasSuggestions: true, diff --git a/lib/rules/no-useless-rename.js b/lib/rules/no-useless-rename.js index 908605f74cb..a20bb610157 100644 --- a/lib/rules/no-useless-rename.js +++ b/lib/rules/no-useless-rename.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Disallow renaming import, export, and destructured assignments to the same name", recommended: false, - url: "https://eslint.org/docs/rules/no-useless-rename" + url: "https://eslint.org/docs/latest/rules/no-useless-rename" }, fixable: "code", diff --git a/lib/rules/no-useless-return.js b/lib/rules/no-useless-return.js index 55e34b3ab0f..26b99f2ae58 100644 --- a/lib/rules/no-useless-return.js +++ b/lib/rules/no-useless-return.js @@ -69,7 +69,7 @@ module.exports = { docs: { description: "Disallow redundant return statements", recommended: false, - url: "https://eslint.org/docs/rules/no-useless-return" + url: "https://eslint.org/docs/latest/rules/no-useless-return" }, fixable: "code", diff --git a/lib/rules/no-var.js b/lib/rules/no-var.js index 01316db35c4..70ed6b0367e 100644 --- a/lib/rules/no-var.js +++ b/lib/rules/no-var.js @@ -187,7 +187,7 @@ module.exports = { docs: { description: "Require `let` or `const` instead of `var`", recommended: false, - url: "https://eslint.org/docs/rules/no-var" + url: "https://eslint.org/docs/latest/rules/no-var" }, schema: [], diff --git a/lib/rules/no-void.js b/lib/rules/no-void.js index 15c4730612d..9546d7a62c3 100644 --- a/lib/rules/no-void.js +++ b/lib/rules/no-void.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Disallow `void` operators", recommended: false, - url: "https://eslint.org/docs/rules/no-void" + url: "https://eslint.org/docs/latest/rules/no-void" }, messages: { diff --git a/lib/rules/no-warning-comments.js b/lib/rules/no-warning-comments.js index 9754f50880b..aabd47d80ef 100644 --- a/lib/rules/no-warning-comments.js +++ b/lib/rules/no-warning-comments.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow specified warning terms in comments", recommended: false, - url: "https://eslint.org/docs/rules/no-warning-comments" + url: "https://eslint.org/docs/latest/rules/no-warning-comments" }, schema: [ diff --git a/lib/rules/no-whitespace-before-property.js b/lib/rules/no-whitespace-before-property.js index 67323816f85..8b0c4aad44e 100644 --- a/lib/rules/no-whitespace-before-property.js +++ b/lib/rules/no-whitespace-before-property.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Disallow whitespace before properties", recommended: false, - url: "https://eslint.org/docs/rules/no-whitespace-before-property" + url: "https://eslint.org/docs/latest/rules/no-whitespace-before-property" }, fixable: "whitespace", diff --git a/lib/rules/no-with.js b/lib/rules/no-with.js index 33de68d9c05..0fb2c4519b4 100644 --- a/lib/rules/no-with.js +++ b/lib/rules/no-with.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Disallow `with` statements", recommended: true, - url: "https://eslint.org/docs/rules/no-with" + url: "https://eslint.org/docs/latest/rules/no-with" }, schema: [], diff --git a/lib/rules/nonblock-statement-body-position.js b/lib/rules/nonblock-statement-body-position.js index cefecf302a6..fd645f447ab 100644 --- a/lib/rules/nonblock-statement-body-position.js +++ b/lib/rules/nonblock-statement-body-position.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce the location of single-line statements", recommended: false, - url: "https://eslint.org/docs/rules/nonblock-statement-body-position" + url: "https://eslint.org/docs/latest/rules/nonblock-statement-body-position" }, fixable: "whitespace", diff --git a/lib/rules/object-curly-newline.js b/lib/rules/object-curly-newline.js index 2f8004918a9..7724ffafe5d 100644 --- a/lib/rules/object-curly-newline.js +++ b/lib/rules/object-curly-newline.js @@ -152,7 +152,7 @@ module.exports = { docs: { description: "Enforce consistent line breaks after opening and before closing braces", recommended: false, - url: "https://eslint.org/docs/rules/object-curly-newline" + url: "https://eslint.org/docs/latest/rules/object-curly-newline" }, fixable: "whitespace", diff --git a/lib/rules/object-curly-spacing.js b/lib/rules/object-curly-spacing.js index d6a8e5956ae..c87130a67ca 100644 --- a/lib/rules/object-curly-spacing.js +++ b/lib/rules/object-curly-spacing.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce consistent spacing inside braces", recommended: false, - url: "https://eslint.org/docs/rules/object-curly-spacing" + url: "https://eslint.org/docs/latest/rules/object-curly-spacing" }, fixable: "whitespace", diff --git a/lib/rules/object-property-newline.js b/lib/rules/object-property-newline.js index bc079a16f45..0ee14e7902c 100644 --- a/lib/rules/object-property-newline.js +++ b/lib/rules/object-property-newline.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce placing object properties on separate lines", recommended: false, - url: "https://eslint.org/docs/rules/object-property-newline" + url: "https://eslint.org/docs/latest/rules/object-property-newline" }, schema: [ diff --git a/lib/rules/object-shorthand.js b/lib/rules/object-shorthand.js index 64a506ba6cc..e1b876b14b6 100644 --- a/lib/rules/object-shorthand.js +++ b/lib/rules/object-shorthand.js @@ -30,7 +30,7 @@ module.exports = { docs: { description: "Require or disallow method and property shorthand syntax for object literals", recommended: false, - url: "https://eslint.org/docs/rules/object-shorthand" + url: "https://eslint.org/docs/latest/rules/object-shorthand" }, fixable: "code", diff --git a/lib/rules/one-var-declaration-per-line.js b/lib/rules/one-var-declaration-per-line.js index 65be0929e71..b1e045b0dc5 100644 --- a/lib/rules/one-var-declaration-per-line.js +++ b/lib/rules/one-var-declaration-per-line.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Require or disallow newlines around variable declarations", recommended: false, - url: "https://eslint.org/docs/rules/one-var-declaration-per-line" + url: "https://eslint.org/docs/latest/rules/one-var-declaration-per-line" }, schema: [ diff --git a/lib/rules/one-var.js b/lib/rules/one-var.js index a8e2a1de05a..5bce7e5ca61 100644 --- a/lib/rules/one-var.js +++ b/lib/rules/one-var.js @@ -36,7 +36,7 @@ module.exports = { docs: { description: "Enforce variables to be declared either together or separately in functions", recommended: false, - url: "https://eslint.org/docs/rules/one-var" + url: "https://eslint.org/docs/latest/rules/one-var" }, fixable: "code", diff --git a/lib/rules/operator-assignment.js b/lib/rules/operator-assignment.js index ed9cb963bf2..ceb2d8d7eed 100644 --- a/lib/rules/operator-assignment.js +++ b/lib/rules/operator-assignment.js @@ -65,7 +65,7 @@ module.exports = { docs: { description: "Require or disallow assignment operator shorthand where possible", recommended: false, - url: "https://eslint.org/docs/rules/operator-assignment" + url: "https://eslint.org/docs/latest/rules/operator-assignment" }, schema: [ diff --git a/lib/rules/operator-linebreak.js b/lib/rules/operator-linebreak.js index 03b603e7584..e2f151b7635 100644 --- a/lib/rules/operator-linebreak.js +++ b/lib/rules/operator-linebreak.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Enforce consistent linebreak style for operators", recommended: false, - url: "https://eslint.org/docs/rules/operator-linebreak" + url: "https://eslint.org/docs/latest/rules/operator-linebreak" }, schema: [ diff --git a/lib/rules/padded-blocks.js b/lib/rules/padded-blocks.js index bc194283dea..d616cd261b8 100644 --- a/lib/rules/padded-blocks.js +++ b/lib/rules/padded-blocks.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Require or disallow padding within blocks", recommended: false, - url: "https://eslint.org/docs/rules/padded-blocks" + url: "https://eslint.org/docs/latest/rules/padded-blocks" }, fixable: "whitespace", diff --git a/lib/rules/padding-line-between-statements.js b/lib/rules/padding-line-between-statements.js index 9d730bffcd9..81795e50a26 100644 --- a/lib/rules/padding-line-between-statements.js +++ b/lib/rules/padding-line-between-statements.js @@ -433,7 +433,7 @@ module.exports = { docs: { description: "Require or disallow padding lines between statements", recommended: false, - url: "https://eslint.org/docs/rules/padding-line-between-statements" + url: "https://eslint.org/docs/latest/rules/padding-line-between-statements" }, fixable: "whitespace", diff --git a/lib/rules/prefer-arrow-callback.js b/lib/rules/prefer-arrow-callback.js index 1c270189140..e7274142522 100644 --- a/lib/rules/prefer-arrow-callback.js +++ b/lib/rules/prefer-arrow-callback.js @@ -153,7 +153,7 @@ module.exports = { docs: { description: "Require using arrow functions for callbacks", recommended: false, - url: "https://eslint.org/docs/rules/prefer-arrow-callback" + url: "https://eslint.org/docs/latest/rules/prefer-arrow-callback" }, schema: [ diff --git a/lib/rules/prefer-const.js b/lib/rules/prefer-const.js index 2d8cab83292..607824f61b6 100644 --- a/lib/rules/prefer-const.js +++ b/lib/rules/prefer-const.js @@ -334,7 +334,7 @@ module.exports = { docs: { description: "Require `const` declarations for variables that are never reassigned after declared", recommended: false, - url: "https://eslint.org/docs/rules/prefer-const" + url: "https://eslint.org/docs/latest/rules/prefer-const" }, fixable: "code", diff --git a/lib/rules/prefer-destructuring.js b/lib/rules/prefer-destructuring.js index fdf46f65f59..7ccc8c314d8 100644 --- a/lib/rules/prefer-destructuring.js +++ b/lib/rules/prefer-destructuring.js @@ -28,7 +28,7 @@ module.exports = { docs: { description: "Require destructuring from arrays and/or objects", recommended: false, - url: "https://eslint.org/docs/rules/prefer-destructuring" + url: "https://eslint.org/docs/latest/rules/prefer-destructuring" }, fixable: "code", diff --git a/lib/rules/prefer-exponentiation-operator.js b/lib/rules/prefer-exponentiation-operator.js index a0eac79be10..ec3a7c6c084 100644 --- a/lib/rules/prefer-exponentiation-operator.js +++ b/lib/rules/prefer-exponentiation-operator.js @@ -92,7 +92,7 @@ module.exports = { docs: { description: "Disallow the use of `Math.pow` in favor of the `**` operator", recommended: false, - url: "https://eslint.org/docs/rules/prefer-exponentiation-operator" + url: "https://eslint.org/docs/latest/rules/prefer-exponentiation-operator" }, schema: [], diff --git a/lib/rules/prefer-named-capture-group.js b/lib/rules/prefer-named-capture-group.js index 4fbf6886f27..e1a2b8af131 100644 --- a/lib/rules/prefer-named-capture-group.js +++ b/lib/rules/prefer-named-capture-group.js @@ -90,7 +90,7 @@ module.exports = { docs: { description: "Enforce using named capture group in regular expression", recommended: false, - url: "https://eslint.org/docs/rules/prefer-named-capture-group" + url: "https://eslint.org/docs/latest/rules/prefer-named-capture-group" }, hasSuggestions: true, diff --git a/lib/rules/prefer-numeric-literals.js b/lib/rules/prefer-numeric-literals.js index 5f70158126c..60831bf50ef 100644 --- a/lib/rules/prefer-numeric-literals.js +++ b/lib/rules/prefer-numeric-literals.js @@ -47,7 +47,7 @@ module.exports = { docs: { description: "Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals", recommended: false, - url: "https://eslint.org/docs/rules/prefer-numeric-literals" + url: "https://eslint.org/docs/latest/rules/prefer-numeric-literals" }, schema: [], diff --git a/lib/rules/prefer-object-has-own.js b/lib/rules/prefer-object-has-own.js index 55eba59d6ac..43964447f3b 100644 --- a/lib/rules/prefer-object-has-own.js +++ b/lib/rules/prefer-object-has-own.js @@ -52,7 +52,7 @@ module.exports = { description: "Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`", recommended: false, - url: "https://eslint.org/docs/rules/prefer-object-has-own" + url: "https://eslint.org/docs/latest/rules/prefer-object-has-own" }, schema: [], messages: { diff --git a/lib/rules/prefer-object-spread.js b/lib/rules/prefer-object-spread.js index 656cfe57a3d..a5abbabf9e8 100644 --- a/lib/rules/prefer-object-spread.js +++ b/lib/rules/prefer-object-spread.js @@ -248,7 +248,7 @@ module.exports = { description: "Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead", recommended: false, - url: "https://eslint.org/docs/rules/prefer-object-spread" + url: "https://eslint.org/docs/latest/rules/prefer-object-spread" }, schema: [], diff --git a/lib/rules/prefer-promise-reject-errors.js b/lib/rules/prefer-promise-reject-errors.js index 391ba1aa158..e8cadcdbaa5 100644 --- a/lib/rules/prefer-promise-reject-errors.js +++ b/lib/rules/prefer-promise-reject-errors.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Require using Error objects as Promise rejection reasons", recommended: false, - url: "https://eslint.org/docs/rules/prefer-promise-reject-errors" + url: "https://eslint.org/docs/latest/rules/prefer-promise-reject-errors" }, fixable: null, diff --git a/lib/rules/prefer-reflect.js b/lib/rules/prefer-reflect.js index 68ffa88b352..d579b486b78 100644 --- a/lib/rules/prefer-reflect.js +++ b/lib/rules/prefer-reflect.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require `Reflect` methods where applicable", recommended: false, - url: "https://eslint.org/docs/rules/prefer-reflect" + url: "https://eslint.org/docs/latest/rules/prefer-reflect" }, deprecated: true, diff --git a/lib/rules/prefer-regex-literals.js b/lib/rules/prefer-regex-literals.js index 94b52155ee2..90ad3fbbc02 100644 --- a/lib/rules/prefer-regex-literals.js +++ b/lib/rules/prefer-regex-literals.js @@ -124,7 +124,7 @@ module.exports = { docs: { description: "Disallow use of the `RegExp` constructor in favor of regular expression literals", recommended: false, - url: "https://eslint.org/docs/rules/prefer-regex-literals" + url: "https://eslint.org/docs/latest/rules/prefer-regex-literals" }, hasSuggestions: true, diff --git a/lib/rules/prefer-rest-params.js b/lib/rules/prefer-rest-params.js index 9c8f291bd5a..c5ae7346f25 100644 --- a/lib/rules/prefer-rest-params.js +++ b/lib/rules/prefer-rest-params.js @@ -67,7 +67,7 @@ module.exports = { docs: { description: "Require rest parameters instead of `arguments`", recommended: false, - url: "https://eslint.org/docs/rules/prefer-rest-params" + url: "https://eslint.org/docs/latest/rules/prefer-rest-params" }, schema: [], diff --git a/lib/rules/prefer-spread.js b/lib/rules/prefer-spread.js index c8909fc0612..1ecdaab2a25 100644 --- a/lib/rules/prefer-spread.js +++ b/lib/rules/prefer-spread.js @@ -51,7 +51,7 @@ module.exports = { docs: { description: "Require spread operators instead of `.apply()`", recommended: false, - url: "https://eslint.org/docs/rules/prefer-spread" + url: "https://eslint.org/docs/latest/rules/prefer-spread" }, schema: [], diff --git a/lib/rules/prefer-template.js b/lib/rules/prefer-template.js index 167c187db6f..d357e79776f 100644 --- a/lib/rules/prefer-template.js +++ b/lib/rules/prefer-template.js @@ -130,7 +130,7 @@ module.exports = { docs: { description: "Require template literals instead of string concatenation", recommended: false, - url: "https://eslint.org/docs/rules/prefer-template" + url: "https://eslint.org/docs/latest/rules/prefer-template" }, schema: [], diff --git a/lib/rules/quote-props.js b/lib/rules/quote-props.js index db9423978bb..488f735294b 100644 --- a/lib/rules/quote-props.js +++ b/lib/rules/quote-props.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Require quotes around object literal property names", recommended: false, - url: "https://eslint.org/docs/rules/quote-props" + url: "https://eslint.org/docs/latest/rules/quote-props" }, schema: { diff --git a/lib/rules/quotes.js b/lib/rules/quotes.js index ab7b38b90bf..d5d661cf1b0 100644 --- a/lib/rules/quotes.js +++ b/lib/rules/quotes.js @@ -82,7 +82,7 @@ module.exports = { docs: { description: "Enforce the consistent use of either backticks, double, or single quotes", recommended: false, - url: "https://eslint.org/docs/rules/quotes" + url: "https://eslint.org/docs/latest/rules/quotes" }, fixable: "code", diff --git a/lib/rules/radix.js b/lib/rules/radix.js index 4210c123a67..445106952eb 100644 --- a/lib/rules/radix.js +++ b/lib/rules/radix.js @@ -82,7 +82,7 @@ module.exports = { docs: { description: "Enforce the consistent use of the radix argument when using `parseInt()`", recommended: false, - url: "https://eslint.org/docs/rules/radix" + url: "https://eslint.org/docs/latest/rules/radix" }, hasSuggestions: true, diff --git a/lib/rules/require-atomic-updates.js b/lib/rules/require-atomic-updates.js index 4ed256a4a51..e417362799e 100644 --- a/lib/rules/require-atomic-updates.js +++ b/lib/rules/require-atomic-updates.js @@ -173,7 +173,7 @@ module.exports = { docs: { description: "Disallow assignments that can lead to race conditions due to usage of `await` or `yield`", recommended: false, - url: "https://eslint.org/docs/rules/require-atomic-updates" + url: "https://eslint.org/docs/latest/rules/require-atomic-updates" }, fixable: null, diff --git a/lib/rules/require-await.js b/lib/rules/require-await.js index 1add2552e58..573f7218ade 100644 --- a/lib/rules/require-await.js +++ b/lib/rules/require-await.js @@ -36,7 +36,7 @@ module.exports = { docs: { description: "Disallow async functions which have no `await` expression", recommended: false, - url: "https://eslint.org/docs/rules/require-await" + url: "https://eslint.org/docs/latest/rules/require-await" }, schema: [], diff --git a/lib/rules/require-jsdoc.js b/lib/rules/require-jsdoc.js index 755f6df5fee..3202a68f7c4 100644 --- a/lib/rules/require-jsdoc.js +++ b/lib/rules/require-jsdoc.js @@ -13,7 +13,7 @@ module.exports = { docs: { description: "Require JSDoc comments", recommended: false, - url: "https://eslint.org/docs/rules/require-jsdoc" + url: "https://eslint.org/docs/latest/rules/require-jsdoc" }, schema: [ diff --git a/lib/rules/require-unicode-regexp.js b/lib/rules/require-unicode-regexp.js index 943137cb5d6..6342f46e736 100644 --- a/lib/rules/require-unicode-regexp.js +++ b/lib/rules/require-unicode-regexp.js @@ -30,7 +30,7 @@ module.exports = { docs: { description: "Enforce the use of `u` flag on RegExp", recommended: false, - url: "https://eslint.org/docs/rules/require-unicode-regexp" + url: "https://eslint.org/docs/latest/rules/require-unicode-regexp" }, hasSuggestions: true, diff --git a/lib/rules/require-yield.js b/lib/rules/require-yield.js index b3f1341136a..f801af0ab50 100644 --- a/lib/rules/require-yield.js +++ b/lib/rules/require-yield.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require generator functions to contain `yield`", recommended: true, - url: "https://eslint.org/docs/rules/require-yield" + url: "https://eslint.org/docs/latest/rules/require-yield" }, schema: [], diff --git a/lib/rules/rest-spread-spacing.js b/lib/rules/rest-spread-spacing.js index 17f9aa0c3c5..94bf4be423a 100644 --- a/lib/rules/rest-spread-spacing.js +++ b/lib/rules/rest-spread-spacing.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce spacing between rest and spread operators and their expressions", recommended: false, - url: "https://eslint.org/docs/rules/rest-spread-spacing" + url: "https://eslint.org/docs/latest/rules/rest-spread-spacing" }, fixable: "whitespace", diff --git a/lib/rules/semi-spacing.js b/lib/rules/semi-spacing.js index 875cb62443d..52647030a9c 100644 --- a/lib/rules/semi-spacing.js +++ b/lib/rules/semi-spacing.js @@ -19,7 +19,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before and after semicolons", recommended: false, - url: "https://eslint.org/docs/rules/semi-spacing" + url: "https://eslint.org/docs/latest/rules/semi-spacing" }, fixable: "whitespace", diff --git a/lib/rules/semi-style.js b/lib/rules/semi-style.js index 424858b4ba1..f9a5de8b2c9 100644 --- a/lib/rules/semi-style.js +++ b/lib/rules/semi-style.js @@ -75,7 +75,7 @@ module.exports = { docs: { description: "Enforce location of semicolons", recommended: false, - url: "https://eslint.org/docs/rules/semi-style" + url: "https://eslint.org/docs/latest/rules/semi-style" }, schema: [{ enum: ["last", "first"] }], diff --git a/lib/rules/semi.js b/lib/rules/semi.js index c312e0bc40a..ac982b17f7c 100644 --- a/lib/rules/semi.js +++ b/lib/rules/semi.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Require or disallow semicolons instead of ASI", recommended: false, - url: "https://eslint.org/docs/rules/semi" + url: "https://eslint.org/docs/latest/rules/semi" }, fixable: "code", diff --git a/lib/rules/sort-imports.js b/lib/rules/sort-imports.js index bfb0765baa5..89c1af7eb95 100644 --- a/lib/rules/sort-imports.js +++ b/lib/rules/sort-imports.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Enforce sorted import declarations within modules", recommended: false, - url: "https://eslint.org/docs/rules/sort-imports" + url: "https://eslint.org/docs/latest/rules/sort-imports" }, schema: [ diff --git a/lib/rules/sort-keys.js b/lib/rules/sort-keys.js index 1523ab751a0..e0cae69a638 100644 --- a/lib/rules/sort-keys.js +++ b/lib/rules/sort-keys.js @@ -83,7 +83,7 @@ module.exports = { docs: { description: "Require object keys to be sorted", recommended: false, - url: "https://eslint.org/docs/rules/sort-keys" + url: "https://eslint.org/docs/latest/rules/sort-keys" }, schema: [ diff --git a/lib/rules/sort-vars.js b/lib/rules/sort-vars.js index ec0718ee578..318e402c923 100644 --- a/lib/rules/sort-vars.js +++ b/lib/rules/sort-vars.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require variables within the same declaration block to be sorted", recommended: false, - url: "https://eslint.org/docs/rules/sort-vars" + url: "https://eslint.org/docs/latest/rules/sort-vars" }, schema: [ diff --git a/lib/rules/space-before-blocks.js b/lib/rules/space-before-blocks.js index ffd33ddcaea..7fd30456b27 100644 --- a/lib/rules/space-before-blocks.js +++ b/lib/rules/space-before-blocks.js @@ -42,7 +42,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before blocks", recommended: false, - url: "https://eslint.org/docs/rules/space-before-blocks" + url: "https://eslint.org/docs/latest/rules/space-before-blocks" }, fixable: "whitespace", diff --git a/lib/rules/space-before-function-paren.js b/lib/rules/space-before-function-paren.js index b56ac3c52c7..28b59bc31e0 100644 --- a/lib/rules/space-before-function-paren.js +++ b/lib/rules/space-before-function-paren.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before `function` definition opening parenthesis", recommended: false, - url: "https://eslint.org/docs/rules/space-before-function-paren" + url: "https://eslint.org/docs/latest/rules/space-before-function-paren" }, fixable: "whitespace", diff --git a/lib/rules/space-in-parens.js b/lib/rules/space-in-parens.js index 42d9bb58e7e..fa56fee9811 100644 --- a/lib/rules/space-in-parens.js +++ b/lib/rules/space-in-parens.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Enforce consistent spacing inside parentheses", recommended: false, - url: "https://eslint.org/docs/rules/space-in-parens" + url: "https://eslint.org/docs/latest/rules/space-in-parens" }, fixable: "whitespace", diff --git a/lib/rules/space-infix-ops.js b/lib/rules/space-infix-ops.js index 141c269df6b..ce48b1f2e7d 100644 --- a/lib/rules/space-infix-ops.js +++ b/lib/rules/space-infix-ops.js @@ -18,7 +18,7 @@ module.exports = { docs: { description: "Require spacing around infix operators", recommended: false, - url: "https://eslint.org/docs/rules/space-infix-ops" + url: "https://eslint.org/docs/latest/rules/space-infix-ops" }, fixable: "whitespace", diff --git a/lib/rules/space-unary-ops.js b/lib/rules/space-unary-ops.js index 1d9141d2b97..00aac6e2c4d 100644 --- a/lib/rules/space-unary-ops.js +++ b/lib/rules/space-unary-ops.js @@ -22,7 +22,7 @@ module.exports = { docs: { description: "Enforce consistent spacing before or after unary operators", recommended: false, - url: "https://eslint.org/docs/rules/space-unary-ops" + url: "https://eslint.org/docs/latest/rules/space-unary-ops" }, fixable: "whitespace", diff --git a/lib/rules/spaced-comment.js b/lib/rules/spaced-comment.js index 6aedeae871d..72c02f69d92 100644 --- a/lib/rules/spaced-comment.js +++ b/lib/rules/spaced-comment.js @@ -154,7 +154,7 @@ module.exports = { docs: { description: "Enforce consistent spacing after the `//` or `/*` in a comment", recommended: false, - url: "https://eslint.org/docs/rules/spaced-comment" + url: "https://eslint.org/docs/latest/rules/spaced-comment" }, fixable: "whitespace", diff --git a/lib/rules/strict.js b/lib/rules/strict.js index 75bb561253e..f9dd7500be3 100644 --- a/lib/rules/strict.js +++ b/lib/rules/strict.js @@ -71,7 +71,7 @@ module.exports = { docs: { description: "Require or disallow strict mode directives", recommended: false, - url: "https://eslint.org/docs/rules/strict" + url: "https://eslint.org/docs/latest/rules/strict" }, schema: [ diff --git a/lib/rules/switch-colon-spacing.js b/lib/rules/switch-colon-spacing.js index c1df496fd94..8ea5d0cae66 100644 --- a/lib/rules/switch-colon-spacing.js +++ b/lib/rules/switch-colon-spacing.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Enforce spacing around colons of switch statements", recommended: false, - url: "https://eslint.org/docs/rules/switch-colon-spacing" + url: "https://eslint.org/docs/latest/rules/switch-colon-spacing" }, schema: [ diff --git a/lib/rules/symbol-description.js b/lib/rules/symbol-description.js index e96a428ce1d..d2db188ec0a 100644 --- a/lib/rules/symbol-description.js +++ b/lib/rules/symbol-description.js @@ -24,7 +24,7 @@ module.exports = { docs: { description: "Require symbol descriptions", recommended: false, - url: "https://eslint.org/docs/rules/symbol-description" + url: "https://eslint.org/docs/latest/rules/symbol-description" }, fixable: null, schema: [], diff --git a/lib/rules/template-curly-spacing.js b/lib/rules/template-curly-spacing.js index 35d4bbab4d7..2e7fb824031 100644 --- a/lib/rules/template-curly-spacing.js +++ b/lib/rules/template-curly-spacing.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Require or disallow spacing around embedded expressions of template strings", recommended: false, - url: "https://eslint.org/docs/rules/template-curly-spacing" + url: "https://eslint.org/docs/latest/rules/template-curly-spacing" }, fixable: "whitespace", diff --git a/lib/rules/template-tag-spacing.js b/lib/rules/template-tag-spacing.js index 3140fa0eed7..68219ec1fad 100644 --- a/lib/rules/template-tag-spacing.js +++ b/lib/rules/template-tag-spacing.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require or disallow spacing between template tags and their literals", recommended: false, - url: "https://eslint.org/docs/rules/template-tag-spacing" + url: "https://eslint.org/docs/latest/rules/template-tag-spacing" }, fixable: "whitespace", diff --git a/lib/rules/unicode-bom.js b/lib/rules/unicode-bom.js index 482d3bbf50b..48eb538bdf5 100644 --- a/lib/rules/unicode-bom.js +++ b/lib/rules/unicode-bom.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Require or disallow Unicode byte order mark (BOM)", recommended: false, - url: "https://eslint.org/docs/rules/unicode-bom" + url: "https://eslint.org/docs/latest/rules/unicode-bom" }, fixable: "whitespace", diff --git a/lib/rules/use-isnan.js b/lib/rules/use-isnan.js index 219d695374e..21dc3952902 100644 --- a/lib/rules/use-isnan.js +++ b/lib/rules/use-isnan.js @@ -39,7 +39,7 @@ module.exports = { docs: { description: "Require calls to `isNaN()` when checking for `NaN`", recommended: true, - url: "https://eslint.org/docs/rules/use-isnan" + url: "https://eslint.org/docs/latest/rules/use-isnan" }, schema: [ diff --git a/lib/rules/valid-jsdoc.js b/lib/rules/valid-jsdoc.js index 25be39fdd51..4d67dd3dd04 100644 --- a/lib/rules/valid-jsdoc.js +++ b/lib/rules/valid-jsdoc.js @@ -23,7 +23,7 @@ module.exports = { docs: { description: "Enforce valid JSDoc comments", recommended: false, - url: "https://eslint.org/docs/rules/valid-jsdoc" + url: "https://eslint.org/docs/latest/rules/valid-jsdoc" }, schema: [ diff --git a/lib/rules/valid-typeof.js b/lib/rules/valid-typeof.js index 5946b01da83..ff9cc513e2b 100644 --- a/lib/rules/valid-typeof.js +++ b/lib/rules/valid-typeof.js @@ -16,7 +16,7 @@ module.exports = { docs: { description: "Enforce comparing `typeof` expressions against valid strings", recommended: true, - url: "https://eslint.org/docs/rules/valid-typeof" + url: "https://eslint.org/docs/latest/rules/valid-typeof" }, hasSuggestions: true, diff --git a/lib/rules/vars-on-top.js b/lib/rules/vars-on-top.js index 99e2b4ac0dd..81f5d62d02d 100644 --- a/lib/rules/vars-on-top.js +++ b/lib/rules/vars-on-top.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require `var` declarations be placed at the top of their containing scope", recommended: false, - url: "https://eslint.org/docs/rules/vars-on-top" + url: "https://eslint.org/docs/latest/rules/vars-on-top" }, schema: [], diff --git a/lib/rules/wrap-iife.js b/lib/rules/wrap-iife.js index 66ea3f8fa46..131d1517cda 100644 --- a/lib/rules/wrap-iife.js +++ b/lib/rules/wrap-iife.js @@ -45,7 +45,7 @@ module.exports = { docs: { description: "Require parentheses around immediate `function` invocations", recommended: false, - url: "https://eslint.org/docs/rules/wrap-iife" + url: "https://eslint.org/docs/latest/rules/wrap-iife" }, schema: [ diff --git a/lib/rules/wrap-regex.js b/lib/rules/wrap-regex.js index 6342e5a5087..31d8bc7248e 100644 --- a/lib/rules/wrap-regex.js +++ b/lib/rules/wrap-regex.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require parenthesis around regex literals", recommended: false, - url: "https://eslint.org/docs/rules/wrap-regex" + url: "https://eslint.org/docs/latest/rules/wrap-regex" }, schema: [], diff --git a/lib/rules/yield-star-spacing.js b/lib/rules/yield-star-spacing.js index c2e07aaaa22..de8c40ef3e4 100644 --- a/lib/rules/yield-star-spacing.js +++ b/lib/rules/yield-star-spacing.js @@ -17,7 +17,7 @@ module.exports = { docs: { description: "Require or disallow spacing around the `*` in `yield*` expressions", recommended: false, - url: "https://eslint.org/docs/rules/yield-star-spacing" + url: "https://eslint.org/docs/latest/rules/yield-star-spacing" }, fixable: "whitespace", diff --git a/lib/rules/yoda.js b/lib/rules/yoda.js index 87c10490064..e3b0a0548f6 100644 --- a/lib/rules/yoda.js +++ b/lib/rules/yoda.js @@ -123,7 +123,7 @@ module.exports = { docs: { description: 'Require or disallow "Yoda" conditions', recommended: false, - url: "https://eslint.org/docs/rules/yoda" + url: "https://eslint.org/docs/latest/rules/yoda" }, schema: [