mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(lint_rules): deprecated eslint no-dupe-args / no-octal / no-with
These are strict mode errors. Closes #2257
This commit is contained in:
parent
6849c047ef
commit
d7feadedb4
2 changed files with 6 additions and 1 deletions
1
tasks/lint_rules/.gitignore
vendored
1
tasks/lint_rules/.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,11 @@ const readAllImplementedRuleNames = async () => {
|
||||||
throw new Error("Failed to find the end of the rules list");
|
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 {{
|
* @typedef {{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue