mirror of
https://github.com/misskey-dev/misskey
synced 2025-08-16 09:02:50 +02:00
* chore(deps): update [misskey-js] update dependencies * enhance(misskey-js): テストスイートをVitestに置き換え (#16340) * enhance(misskey-js): テストスイートをVitestに置き換え * fix: 変なものが混入 * fix test, lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
35 lines
663 B
JavaScript
35 lines
663 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',
|
|
'vitest.config.ts',
|
|
'test',
|
|
'test-d',
|
|
'generator',
|
|
],
|
|
},
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
parser: tsParser,
|
|
project: ['./tsconfig.json'],
|
|
sourceType: 'module',
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ['src/autogen/**/*.ts', 'src/autogen/**/*.tsx'],
|
|
rules: {
|
|
'@stylistic/indent': 'off',
|
|
},
|
|
},
|
|
];
|