Skip to content

Commit

Permalink
Clean run-rules-on-codebase script (#2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored May 27, 2024
1 parent d812ad1 commit 2616ce3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions test/run-rules-on-codebase/lint.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ const {
});

const configs = [
// TODO: Use `eslintPluginUnicorn.configs.all` instead when we change preset to flat config
eslintPluginUnicorn.configs['flat/all'],
{
plugins: {
unicorn: eslintPluginUnicorn,
},
rules: eslintPluginUnicorn.configs.all.rules,
linterOptions: {
reportUnusedDisableDirectives: false,
},
Expand All @@ -38,8 +34,6 @@ const configs = [
'coverage',
'test/integration/fixtures',
'test/integration/fixtures-local',
// Ignore this file self temporarily, disabling `n/file-extension-in-import` comment cause error
'test/run-rules-on-codebase/lint.mjs',
'rules/utils/lodash.js',
],
},
Expand All @@ -55,10 +49,6 @@ const configs = [
'unicorn/consistent-function-scoping': 'off',
// Annoying
'unicorn/no-keyword-prefix': 'off',
'unicorn/no-unsafe-regex': 'off',
// Not ready yet
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-at': 'off',
},
},
{
Expand Down

0 comments on commit 2616ce3

Please sign in to comment.