mirror of
https://github.com/acamarata/temporal-hijri.git
synced 2026-07-02 20:00:43 +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'],
|
files: ['**/*.ts'],
|
||||||
plugins: { '@typescript-eslint': tsPlugin },
|
plugins: { '@typescript-eslint': tsPlugin },
|
||||||
languageOptions: { parser: tsParser },
|
languageOptions: {
|
||||||
|
parser: tsParser,
|
||||||
|
parserOptions: { project: true, tsconfigRootDir: import.meta.dirname },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
...typescript.map((config) => ({ files: ['**/*.ts'], ...config })),
|
...typescript.map((config) => ({ files: ['**/*.ts'], ...config })),
|
||||||
eslintConfigPrettier,
|
eslintConfigPrettier,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue