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: [
const configuration = context.options[0] || {},
ignoreCase = configuration.ignoreCase || false,
- sourceCode = context.getSourceCode();
+ sourceCode = context.sourceCode;
return {
VariableDeclaration(node) {