File tree 1 file changed +1
-11
lines changed
test/run-rules-on-codebase
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,8 @@ const {
23
23
} ) ;
24
24
25
25
const configs = [
26
- // TODO: Use ` eslintPluginUnicorn.configs.all` instead when we change preset to flat config
26
+ eslintPluginUnicorn . configs [ ' flat/all' ] ,
27
27
{
28
- plugins : {
29
- unicorn : eslintPluginUnicorn ,
30
- } ,
31
- rules : eslintPluginUnicorn . configs . all . rules ,
32
28
linterOptions : {
33
29
reportUnusedDisableDirectives : false ,
34
30
} ,
@@ -38,8 +34,6 @@ const configs = [
38
34
'coverage' ,
39
35
'test/integration/fixtures' ,
40
36
'test/integration/fixtures-local' ,
41
- // Ignore this file self temporarily, disabling `n/file-extension-in-import` comment cause error
42
- 'test/run-rules-on-codebase/lint.mjs' ,
43
37
'rules/utils/lodash.js' ,
44
38
] ,
45
39
} ,
@@ -55,10 +49,6 @@ const configs = [
55
49
'unicorn/consistent-function-scoping' : 'off' ,
56
50
// Annoying
57
51
'unicorn/no-keyword-prefix' : 'off' ,
58
- 'unicorn/no-unsafe-regex' : 'off' ,
59
- // Not ready yet
60
- 'unicorn/prefer-string-replace-all' : 'off' ,
61
- 'unicorn/prefer-at' : 'off' ,
62
52
} ,
63
53
} ,
64
54
{
You can’t perform that action at this time.
0 commit comments