mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-01 17:37:27 +00:00
18 lines
364 B
JavaScript
18 lines
364 B
JavaScript
|
import tsParser from '@typescript-eslint/parser';
|
||
|
import sharedConfig from '../../shared/eslint.config.js';
|
||
|
|
||
|
export default [
|
||
|
...sharedConfig,
|
||
|
{
|
||
|
files: ['**/*.ts', '**/*.tsx'],
|
||
|
languageOptions: {
|
||
|
parserOptions: {
|
||
|
parser: tsParser,
|
||
|
project: ['./tsconfig.json'],
|
||
|
sourceType: 'module',
|
||
|
tsconfigRootDir: import.meta.dirname,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|