2026-04-03
- eslint OK - import OK - jsdoc OK - node OK - oxc OK - promise OK - typescript OK - unicorn en cours
This commit is contained in:
parent
93dd909919
commit
f5b489235d
22 changed files with 3087 additions and 1600 deletions
|
|
@ -52,7 +52,17 @@ const esLintRules: DummyRuleMap = {
|
|||
},
|
||||
],
|
||||
"eslint/guard-for-in": "deny",
|
||||
"eslint/id-length": "deny",
|
||||
"eslint/id-length": [
|
||||
"deny",
|
||||
{
|
||||
checkGeneric: true,
|
||||
exceptionPatterns: [],
|
||||
exceptions: ["_"],
|
||||
max: 100_000_000,
|
||||
min: 2,
|
||||
properties: "always",
|
||||
},
|
||||
],
|
||||
"eslint/init-declarations": ["deny", "always"],
|
||||
"eslint/new-cap": [
|
||||
"deny",
|
||||
|
|
@ -266,6 +276,7 @@ const esLintRules: DummyRuleMap = {
|
|||
"deny",
|
||||
{
|
||||
args: "all",
|
||||
argsIgnorePattern: "^_",
|
||||
caughtErrors: "all",
|
||||
fix: {
|
||||
ignoreClassWithStaticInitBlock: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue