Skip to content

Commit

Permalink
chore: add project option
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 18, 2021
1 parent eec6010 commit d3e5af5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ exports.tsConfig = {
// TypeScript files
files: ["**/*.ts", "**/*.tsx"],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["./**/tsconfig.json", "!./**/node_modules/**/tsconfig.json"],
},
plugins: ["@typescript-eslint", "node", "import", "only-warn"],
extends: [
"eslint:recommended",
Expand Down

0 comments on commit d3e5af5

Please sign in to comment.