25 lines
473 B
JavaScript
25 lines
473 B
JavaScript
|
import tsParser from '@typescript-eslint/parser';
|
||
|
import sharedConfig from '../shared/eslint.config.js';
|
||
|
|
||
|
// eslint-disable-next-line import/no-default-export
|
||
|
export default [
|
||
|
...sharedConfig,
|
||
|
{
|
||
|
ignores: [
|
||
|
'**/node_modules',
|
||
|
'built',
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*.ts', '**/*.tsx'],
|
||
|
languageOptions: {
|
||
|
parserOptions: {
|
||
|
parser: tsParser,
|
||
|
project: ['./tsconfig.json'],
|
||
|
sourceType: 'module',
|
||
|
tsconfigRootDir: import.meta.dirname,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|