mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-30 01:43:03 +00:00
23 lines
457 B
JavaScript
23 lines
457 B
JavaScript
|
import globals from 'globals';
|
||
|
import tsParser from '@typescript-eslint/parser';
|
||
|
import sharedConfig from '../../shared/eslint.config.js';
|
||
|
|
||
|
export default [
|
||
|
...sharedConfig,
|
||
|
{
|
||
|
files: ['**/*.ts', '**/*.tsx'],
|
||
|
languageOptions: {
|
||
|
globals: {
|
||
|
...globals.node,
|
||
|
...globals.jest,
|
||
|
},
|
||
|
parserOptions: {
|
||
|
parser: tsParser,
|
||
|
project: ['./tsconfig.json'],
|
||
|
sourceType: 'module',
|
||
|
tsconfigRootDir: import.meta.dirname,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|