From 2df67c4fc34e2fdaf6a4c600930bc3cd12a863ed Mon Sep 17 00:00:00 2001 From: Sergii Mykyteiek Date: Tue, 14 Feb 2023 12:47:14 +0200 Subject: [PATCH] LT-20: Resolve lint conflicts --- .eslintignore | 4 +++- .eslintrc.js | 4 ++-- tsconfig.eslint.json | 4 ++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 tsconfig.eslint.json diff --git a/.eslintignore b/.eslintignore index 53c37a1..0302cca 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,3 @@ -dist \ No newline at end of file +dist +.eslintrc.js +jest.config.js diff --git a/.eslintrc.js b/.eslintrc.js index 8a91f31..7de3a80 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,7 @@ module.exports = { parser: '@typescript-eslint/parser', parserOptions: { - project: 'tsconfig.json', + project: 'tsconfig.eslint.json', sourceType: 'module', }, plugins: ['@typescript-eslint/eslint-plugin', 'prettier'], @@ -42,4 +42,4 @@ module.exports = { { blankLine: "always", prev: "*", next: "return" }, // before return ], }, -}; \ No newline at end of file +}; diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json new file mode 100644 index 0000000..aed3485 --- /dev/null +++ b/tsconfig.eslint.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] +} -- GitLab