Skip to content

Commit c838561

Browse files
fix test eslint
1 parent 0e9f88c commit c838561

File tree

1 file changed

+3
-53
lines changed

1 file changed

+3
-53
lines changed

integration-tests/config-discover/expected/tools-configs/eslint.config.mjs

Lines changed: 3 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3,65 +3,15 @@ export default [
33
rules: {
44
"constructor-super": ["error"],
55
"for-direction": ["error"],
6-
"getter-return": ["error"],
6+
"getter-return": ["error", {"allowImplicit": false}],
77
"no-async-promise-executor": ["error"],
8-
"no-case-declarations": ["error"],
9-
"no-class-assign": ["error"],
10-
"no-compare-neg-zero": ["error"],
11-
"no-cond-assign": ["error", "except-parens"],
12-
"no-const-assign": ["error"],
13-
"no-constant-binary-expression": ["error"],
14-
"no-constant-condition": ["error"],
15-
"no-control-regex": ["error"],
16-
"no-debugger": ["error"],
17-
"no-delete-var": ["error"],
18-
"no-dupe-args": ["error"],
19-
"no-dupe-class-members": ["error"],
20-
"no-dupe-else-if": ["error"],
21-
"no-dupe-keys": ["error"],
22-
"no-duplicate-case": ["error"],
23-
"no-empty": ["error"],
24-
"no-empty-character-class": ["error"],
25-
"no-empty-pattern": ["error"],
26-
"no-empty-static-block": ["error"],
27-
"no-ex-assign": ["error"],
28-
"no-extra-boolean-cast": ["error"],
29-
"no-fallthrough": ["error"],
30-
"no-func-assign": ["error"],
31-
"no-global-assign": ["error"],
32-
"no-import-assign": ["error"],
33-
"no-invalid-regexp": ["error"],
34-
"no-irregular-whitespace": ["error"],
35-
"no-loss-of-precision": ["error"],
36-
"no-misleading-character-class": ["error", {"allowEscape": false}],
37-
"no-new-native-nonconstructor": ["error"],
38-
"no-nonoctal-decimal-escape": ["error"],
39-
"no-obj-calls": ["error"],
40-
"no-octal": ["error"],
41-
"no-prototype-builtins": ["error"],
42-
"no-redeclare": ["error"],
43-
"no-regex-spaces": ["error"],
44-
"no-self-assign": ["error"],
45-
"no-setter-return": ["error"],
46-
"no-shadow-restricted-names": ["error"],
47-
"no-sparse-arrays": ["error"],
48-
"no-this-before-super": ["error"],
49-
"no-undef": ["error"],
50-
"no-unexpected-multiline": ["error"],
51-
"no-unreachable": ["error"],
52-
"no-unsafe-finally": ["error"],
53-
"no-unsafe-negation": ["error"],
54-
"no-unsafe-optional-chaining": ["error"],
55-
"no-unused-labels": ["error"],
56-
"no-unused-private-class-members": ["error"],
57-
"no-unused-vars": ["error"],
588
"no-useless-backreference": ["error"],
599
"no-useless-catch": ["error"],
6010
"no-useless-escape": ["error"],
6111
"no-with": ["error"],
6212
"require-yield": ["error"],
63-
"use-isnan": ["error"],
64-
"valid-typeof": ["error"],
13+
"use-isnan": ["error", {"enforceForIndexOf": false, "enforceForSwitchCase": true}],
14+
"valid-typeof": ["error", {"requireStringLiterals": false}],
6515
}
6616
}
6717
];

0 commit comments

Comments
 (0)