fix ESLint errors when opening a configuration file in the IDE

This commit is contained in:
Hazelnoot 2025-10-01 20:23:13 -04:00
parent 01f90265ec
commit 2b4b5fd32c
11 changed files with 31 additions and 18 deletions

View file

@ -1,17 +0,0 @@
import tsParser from '@typescript-eslint/parser';
import sharedConfig from '../../packages/shared/eslint.config.js';
export default [
...sharedConfig,
{
files: ['src/**/*.ts', 'src/**/*.tsx'],
languageOptions: {
parserOptions: {
parser: tsParser,
project: ['./tsconfig.json'],
sourceType: 'module',
tsconfigRootDir: import.meta.dirname,
},
},
},
];