mirror of
https://github.com/acamarata/temporal-hijri.git
synced 2026-07-02 11:50:42 +00:00
ci: fix eslint flat config - add files pattern to match TS files in src/
This commit is contained in:
parent
e6fd9d14df
commit
cae2726766
1 changed files with 2 additions and 1 deletions
|
|
@ -5,10 +5,11 @@ import { typescript } from '@acamarata/eslint-config';
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
|
files: ['**/*.ts'],
|
||||||
plugins: { '@typescript-eslint': tsPlugin },
|
plugins: { '@typescript-eslint': tsPlugin },
|
||||||
languageOptions: { parser: tsParser },
|
languageOptions: { parser: tsParser },
|
||||||
},
|
},
|
||||||
...typescript,
|
...typescript.map((config) => ({ files: ['**/*.ts'], ...config })),
|
||||||
eslintConfigPrettier,
|
eslintConfigPrettier,
|
||||||
{
|
{
|
||||||
ignores: ['dist/', 'node_modules/', 'test.mjs', 'test-cjs.cjs'],
|
ignores: ['dist/', 'node_modules/', 'test.mjs', 'test-cjs.cjs'],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue