diff --git a/.eslintrc.js b/.eslintrc.js index eedb1864..e549a923 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,7 +3,7 @@ const eslint = { parserOptions: { ecmaVersion: 9, sourceType: 'module', - project: './tsconfig.json', + project: './tsconfig.eslint.json', }, ignorePatterns: ['.eslintrc.js', 'dist'], env: { diff --git a/lint-staged.config.js b/lint-staged.config.js deleted file mode 100644 index 2f12bd24..00000000 --- a/lint-staged.config.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@scaleleap/utils/lint-staged') diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json new file mode 100644 index 00000000..58db84df --- /dev/null +++ b/tsconfig.eslint.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "include": [ + "src/**/*", + "test/**/*.ts" + ] +} diff --git a/tsconfig.json b/tsconfig.json index f0bc6c02..2a41e1e1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,6 @@ "target": "ES2019" }, "include": [ - "src/**/*", - "test/**/*.ts" + "src/**/*" ] }