fix(eslint-config): add spread to `tseslint.configs.recommended` (#1084)
parent
9a98e388cc
commit
8e6961ec9b
|
@ -6,8 +6,8 @@ import tseslint from 'typescript-eslint'
|
|||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
nodePlugin.configs["flat/recommended"],
|
||||
tseslint.configs.recommended,
|
||||
nodePlugin.configs['flat/recommended'],
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
'@typescript-eslint': tseslint.plugin,
|
||||
|
@ -52,14 +52,7 @@ export default [
|
|||
'import-x/order': [
|
||||
'error',
|
||||
{
|
||||
groups: [
|
||||
'external',
|
||||
'builtin',
|
||||
'internal',
|
||||
'parent',
|
||||
'sibling',
|
||||
'index',
|
||||
],
|
||||
groups: ['external', 'builtin', 'internal', 'parent', 'sibling', 'index'],
|
||||
alphabetize: {
|
||||
order: 'asc',
|
||||
caseInsensitive: true,
|
||||
|
|
Loading…
Reference in New Issue