Skip to content

Commit

Permalink
chore: update linter tsconfig root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jan 17, 2025
1 parent 82d28fc commit 6b3b90f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import eslint from '@eslint/js';
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import { join } from 'path';
import tseslint from 'typescript-eslint';

export default tseslint.config(
Expand All @@ -21,7 +22,7 @@ export default tseslint.config(
sourceType: 'module',
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
tsconfigRootDir: join(import.meta.dirname, 'packages'),
},
},
},
Expand Down

0 comments on commit 6b3b90f

Please sign in to comment.