ci: fix eslint - add parserOptions.project for typed linting rules

This commit is contained in:
Aric Camarata 2026-05-31 08:49:46 -04:00
parent cae2726766
commit 40478b6f7b

View file

@ -7,7 +7,10 @@ export default [
{
files: ['**/*.ts'],
plugins: { '@typescript-eslint': tsPlugin },
languageOptions: { parser: tsParser },
languageOptions: {
parser: tsParser,
parserOptions: { project: true, tsconfigRootDir: import.meta.dirname },
},
},
...typescript.map((config) => ({ files: ['**/*.ts'], ...config })),
eslintConfigPrettier,