Skip to content

Commit 40b3b6d

Browse files
feat: more tweaks
1 parent 5020a6f commit 40b3b6d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/configs/typescript.ts

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ export async function typescript(
200200
"ts/prefer-regexp-exec": "error",
201201
"ts/prefer-return-this-type": "error",
202202
"ts/prefer-string-starts-ends-with": "error",
203-
// "ts/prefer-ts-expect-error": "error",
204203
"ts/restrict-plus-operands": [
205204
"error",
206205
{

src/factory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function rsEslint(
128128
...typeScriptSubOptions,
129129
filesTypeAware: filesTypeAware ?? defaultFilesTypesAware,
130130
parserOptions: {
131-
project: tsconfig ?? null,
131+
projectService: true,
132132
...parserOptions,
133133
},
134134
};

0 commit comments

Comments
 (0)