Skip to content

Commit ea4e0b1

Browse files
feat: more tweaks
1 parent 61f093c commit ea4e0b1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/configs/markdown.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ export async function markdown(
6767
],
6868
languageOptions: {
6969
parserOptions: {
70-
project: null,
70+
project: false,
71+
projectService: false,
72+
program: null,
7173
ecmaFeatures: {
7274
impliedStrict: true,
7375
},

src/factory.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,11 @@ export function rsEslint(
126126
...typeScriptSubOptions,
127127
filesTypeAware: filesTypeAware ?? defaultFilesTypesAware,
128128
parserOptions: {
129-
projectService: {
130-
maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING:
131-
Number.POSITIVE_INFINITY,
132-
},
129+
projectService: true,
130+
// {
131+
// maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING:
132+
// Number.POSITIVE_INFINITY,
133+
// },
133134
...parserOptions,
134135
},
135136
};

0 commit comments

Comments
 (0)