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 [
|
export default [
|
||||||
js.configs.recommended,
|
js.configs.recommended,
|
||||||
nodePlugin.configs["flat/recommended"],
|
nodePlugin.configs['flat/recommended'],
|
||||||
tseslint.configs.recommended,
|
...tseslint.configs.recommended,
|
||||||
{
|
{
|
||||||
plugins: {
|
plugins: {
|
||||||
'@typescript-eslint': tseslint.plugin,
|
'@typescript-eslint': tseslint.plugin,
|
||||||
|
@ -52,14 +52,7 @@ export default [
|
||||||
'import-x/order': [
|
'import-x/order': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
groups: [
|
groups: ['external', 'builtin', 'internal', 'parent', 'sibling', 'index'],
|
||||||
'external',
|
|
||||||
'builtin',
|
|
||||||
'internal',
|
|
||||||
'parent',
|
|
||||||
'sibling',
|
|
||||||
'index',
|
|
||||||
],
|
|
||||||
alphabetize: {
|
alphabetize: {
|
||||||
order: 'asc',
|
order: 'asc',
|
||||||
caseInsensitive: true,
|
caseInsensitive: true,
|
||||||
|
|
Loading…
Reference in New Issue