mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 05:05:42 +01:00
37 lines
644 B
JavaScript
37 lines
644 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',
|
|
'coverage',
|
|
'jest.config.ts',
|
|
'test',
|
|
'test-d',
|
|
],
|
|
},
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
parser: tsParser,
|
|
project: ['./tsconfig.json'],
|
|
sourceType: 'module',
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
ignores: [
|
|
"**/lib/",
|
|
"**/temp/",
|
|
"**/built/",
|
|
"**/coverage/",
|
|
"**/node_modules/",
|
|
]
|
|
},
|
|
];
|