diff --git a/packages/client/.eslintrc.js b/packages/client/.eslintrc.js index 3a17e9d..af5ae49 100644 --- a/packages/client/.eslintrc.js +++ b/packages/client/.eslintrc.js @@ -11,7 +11,7 @@ module.exports = { { files: ['*.ts', '*.tsx', '.js', '.jsx'], parserOptions: { - project: ['./packages/client/tsconfig.json'], + project: ['./tsconfig.json'], sourceType: 'module', }, }, diff --git a/packages/server/.eslintrc.js b/packages/server/.eslintrc.js index 47f71ff..a25b308 100644 --- a/packages/server/.eslintrc.js +++ b/packages/server/.eslintrc.js @@ -1,11 +1,16 @@ module.exports = { parser: '@typescript-eslint/parser', - parserOptions: { - project: './packages/server/tsconfig.json', - sourceType: 'module', - }, plugins: ['@typescript-eslint', 'simple-import-sort', 'prettier'], extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'], + overrides: [ + { + files: ['*.ts', '*.tsx', '.js', '.jsx'], + parserOptions: { + project: ['./tsconfig.json'], + sourceType: 'module', + }, + }, + ], root: true, env: { node: true,