Skip to content

Commit d3e5af5

Browse files
committed
chore: add project option
1 parent eec6010 commit d3e5af5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/typescript.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ exports.tsConfig = {
3838
// TypeScript files
3939
files: ["**/*.ts", "**/*.tsx"],
4040
parser: "@typescript-eslint/parser",
41+
parserOptions: {
42+
project: ["./**/tsconfig.json", "!./**/node_modules/**/tsconfig.json"],
43+
},
4144
plugins: ["@typescript-eslint", "node", "import", "only-warn"],
4245
extends: [
4346
"eslint:recommended",

0 commit comments

Comments
 (0)