mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
28 lines
480 B
JavaScript
28 lines
480 B
JavaScript
|
import tsParser from '@typescript-eslint/parser';
|
||
|
import sharedConfig from '../shared/eslint.config.js';
|
||
|
|
||
|
export default [
|
||
|
...sharedConfig,
|
||
|
{
|
||
|
ignores: [
|
||
|
'**/node_modules',
|
||
|
'built',
|
||
|
'coverage',
|
||
|
'jest.config.ts',
|
||
|
'test',
|
||
|
'test-d',
|
||
|
],
|
||
|
},
|
||
|
{
|
||
|
files: ['**/*.ts', '**/*.tsx'],
|
||
|
languageOptions: {
|
||
|
parserOptions: {
|
||
|
parser: tsParser,
|
||
|
project: ['./tsconfig.json'],
|
||
|
sourceType: 'module',
|
||
|
tsconfigRootDir: import.meta.dirname,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|