Skip to content

Commit 1823a6f

Browse files
committed
fix: eslint plugins
1 parent a8e62c7 commit 1823a6f

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

configs/eslint.mjs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ export default tseslint.config(
4747
...tseslint.configs.strictTypeChecked,
4848
...tseslint.configs.stylisticTypeChecked,
4949
stylistic.configs['all-flat'],
50+
{
51+
languageOptions: {
52+
parser: tsParser,
53+
parserOptions: {
54+
projectService: true
55+
},
56+
},
57+
},
5058
{
5159
files: ['src/**/*.{ts,tsx}', 'test/**/*.{ts,tsx}'],
5260
plugins: {
@@ -55,16 +63,6 @@ export default tseslint.config(
5563
'@stylistic': stylistic,
5664
'@stylistic/ts': stylisticEslintPluginTs,
5765
},
58-
languageOptions: {
59-
parser: tsParser
60-
},
61-
},
62-
{
63-
languageOptions: {
64-
parserOptions: {
65-
projectService: true
66-
},
67-
},
6866
rules: {
6967
'@typescript-eslint/consistent-type-definitions': 'off',
7068
'no-cond-assign': 'error',

0 commit comments

Comments
 (0)