diff --git a/.eslintignore b/.eslintignore index 53c37a16608c014b2cf0bd2d5dfcafe953cdd857..0302ccaafd1db4f838421baba2b7834562a080e1 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 8a91f3125c880b71c1e282cbae3a64895b83cc7e..7de3a80a4a5333c2c2ac77b67585d4cf2e8e2cba 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 0000000000000000000000000000000000000000..aed3485a082f4ebc2c14a603c3396f963de6b1e9 --- /dev/null +++ b/tsconfig.eslint.json @@ -0,0 +1,4 @@ +{ + "extends": "./tsconfig.json", + "exclude": ["node_modules", "test", "dist", "**/*spec.ts"] +}