mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-25 01:56:59 +01:00
18 lines
381 B
JavaScript
18 lines
381 B
JavaScript
|
import tsParser from '@typescript-eslint/parser';
|
||
|
import sharedConfig from '../../packages/shared/eslint.config.js';
|
||
|
|
||
|
export default [
|
||
|
...sharedConfig,
|
||
|
{
|
||
|
files: ['src/**/*.ts', 'src/**/*.tsx'],
|
||
|
languageOptions: {
|
||
|
parserOptions: {
|
||
|
parser: tsParser,
|
||
|
project: ['./tsconfig.json'],
|
||
|
sourceType: 'module',
|
||
|
tsconfigRootDir: import.meta.dirname,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
];
|