Skip to content

Commit

Permalink
chore: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarogfn committed Apr 28, 2024
1 parent 1169ef8 commit 9dbbc4d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
5 changes: 1 addition & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default defineFlatConfig([
},
},

unicornPlugin.configs['flat/recommended'],
{
files: ['**/*.ts', '**/*.js'],
languageOptions: {
Expand All @@ -44,7 +45,6 @@ export default defineFlatConfig([
'array-func': arrayFuncPlugin,
import: importPlugin,
perfectionist,
unicorn: unicornPlugin,
},
rules: {
'import/consistent-type-specifier-style': ['warn', 'prefer-top-level'],
Expand Down Expand Up @@ -73,10 +73,7 @@ export default defineFlatConfig([
'perfectionist/sort-objects': 'warn',
'perfectionist/sort-union-types': 'warn',

...unicornConfig.recommended.rules,
'unicorn/prevent-abbreviations': 'off',

...arrayFuncPlugin.configs.recommended.rules,
},
settings: {
'import/parsers': {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "2.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-array-func": "5.0.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-only-warn": "1.1.0",
"eslint-plugin-perfectionist": "2.10.0",
Expand Down
12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9dbbc4d

Please sign in to comment.