chore(lint_rules): deprecated eslint no-dupe-args / no-octal / no-with

These are strict mode errors.

Closes #2257
This commit is contained in:
Boshen 2024-02-02 17:16:05 +08:00
parent 6849c047ef
commit d7feadedb4
No known key found for this signature in database
GPG key ID: 234DA6A7079C6801
2 changed files with 6 additions and 1 deletions

View file

@ -1,2 +1,3 @@
node_modules
package-lock.json
pnpm-lock.yaml

View file

@ -42,7 +42,11 @@ const readAllImplementedRuleNames = async () => {
throw new Error("Failed to find the end of the rules list");
};
const NOT_SUPPORTED_RULE_NAMES = new Set([]);
const NOT_SUPPORTED_RULE_NAMES = new Set([
"eslint/no-dupe-args", // superseded by strict mode
"eslint/no-octal", // superseded by strict mode
"eslint/no-with" // superseded by strict mode
]);
/**
* @typedef {{