File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
test/run-rules-on-codebase Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,8 @@ const {
2323} ) ;
2424
2525const configs = [
26- // TODO: Use ` eslintPluginUnicorn.configs.all` instead when we change preset to flat config
26+ eslintPluginUnicorn . configs [ ' flat/all' ] ,
2727 {
28- plugins : {
29- unicorn : eslintPluginUnicorn ,
30- } ,
31- rules : eslintPluginUnicorn . configs . all . rules ,
3228 linterOptions : {
3329 reportUnusedDisableDirectives : false ,
3430 } ,
@@ -38,8 +34,6 @@ const configs = [
3834 'coverage' ,
3935 'test/integration/fixtures' ,
4036 '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' ,
4337 'rules/utils/lodash.js' ,
4438 ] ,
4539 } ,
@@ -55,10 +49,6 @@ const configs = [
5549 'unicorn/consistent-function-scoping' : 'off' ,
5650 // Annoying
5751 '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' ,
6252 } ,
6353 } ,
6454 {
You can’t perform that action at this time.
0 commit comments