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 64622ce..5399ff1 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "dependencies": {}, "devDependencies": { - "@chubbyts/chubbyts-eslint": "^2.0.3", + "@chubbyts/chubbyts-eslint": "^2.0.7", "@chubbyts/chubbyts-packaging": "^2.0.7", "@stryker-mutator/core": "^8.2.6", "@stryker-mutator/vitest-runner": "^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" + ], +}