From 790702d4fb77b0987c1c2036cd21357b1743c0ff Mon Sep 17 00:00:00 2001 From: Roberto Cestari Date: Tue, 7 Feb 2023 09:46:27 -0300 Subject: [PATCH] tsconfig --- tsconfig.json | 11 +++++++++++ typescript.js | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 tsconfig.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..1fa8a78 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,11 @@ +{ + "include": ["./**/*"], + "compilerOptions": { + "module": "esnext", + "target": "esnext", + "moduleResolution": "node", + "strict": true, + "lib": ["ESNext", "DOM", "DOM.Iterable"], + "skipLibCheck": true + } +} diff --git a/typescript.js b/typescript.js index ff36ce6..689b3b6 100644 --- a/typescript.js +++ b/typescript.js @@ -6,6 +6,9 @@ module.exports = { ], parser: '@typescript-eslint/parser', + parserOptions: { + project: './tsconfig.json', + }, plugins: ['@typescript-eslint'], rules: {