diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 144ae5c..ee9d6dc 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1 +1,9 @@ -module.exports = require('@chubbyts/chubbyts-eslint/dist/eslintrc').default; +const config = require('@chubbyts/chubbyts-eslint/dist/eslintrc').default; + +module.exports = { + ...config, + parserOptions: { + ...config.parserOptions, + project: './tsconfig.eslint.json', + }, +}; diff --git a/package.json b/package.json index 3a547f4..5672662 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "undici": "^6.19.2" }, "devDependencies": { - "@chubbyts/chubbyts-eslint": "^2.0.3", + "@chubbyts/chubbyts-eslint": "^2.0.7", "@chubbyts/chubbyts-function-mock": "^1.4.2", "@chubbyts/chubbyts-packaging": "^2.0.7", "@stryker-mutator/core": "^8.2.6", diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json new file mode 100644 index 0000000..524af35 --- /dev/null +++ b/tsconfig.eslint.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "include": [ + "src", + "tests" + ], +}