mirror of
https://github.com/acamarata/temporal-hijri.git
synced 2026-06-30 19:04:29 +00:00
ci: fix eslint - add parserOptions.project for typed linting rules
This commit is contained in:
parent
cae2726766
commit
40478b6f7b
1 changed files with 4 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue