Skip to content

Commit 12a378f

Browse files
committed
refactor: reorg eslint config
1 parent 6657448 commit 12a378f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

eslint.config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import simpleImportSort from 'eslint-plugin-simple-import-sort';
1212
import tseslint from 'typescript-eslint';
1313

1414
export default tseslint.config(
15+
eslint.configs.recommended,
16+
tseslint.configs.recommended,
17+
tseslint.configs.stylistic,
1518
{
1619
ignores: [
1720
'node_modules',
@@ -27,11 +30,6 @@ export default tseslint.config(
2730
'*.yml',
2831
'*.md',
2932
],
30-
},
31-
eslint.configs.recommended,
32-
...tseslint.configs.recommended,
33-
...tseslint.configs.stylistic,
34-
{
3533
plugins: {
3634
react,
3735
'react-hooks': reactHooks,

0 commit comments

Comments
 (0)