Skip to content

Commit aa33267

Browse files
committed
Improve config
1 parent b6a9c1a commit aa33267

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

eslint.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ module.exports = [
2222
...config,
2323
files: ["**/*.ts"],
2424
languageOptions: {
25-
globals: globals.node,
26-
parser: tseslint.parser,
27-
parserOptions: { project: "tsconfig.eslint.json" },
25+
...config.languageOptions,
26+
globals: { ...config.languageOptions?.globals, ...globals.node },
27+
parserOptions: {
28+
...config.languageOptions?.parserOptions,
29+
project: "tsconfig.eslint.json",
30+
},
2831
},
2932
plugins: { ...config.plugins, tsdoc },
3033
rules: {

0 commit comments

Comments
 (0)