mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-04 22:06:43 -06:00
7f7445ad7a
* chore(lint): Fix linting in misskey-reversi (cherry picked from commit 894934a1a7743472b2d051e2690007ae373efd76) * chore(lint): Fix linting in misskey-bubble-game (cherry picked from commit 1ba9c37a8d5e4ae6a98494026b87f6f6439790c7) * enhance(gh): add lint ci for misskey games packages * enhance(gh): fix lint ci * fix * revert some changes that nothing to do with lint rules * fix * lint fixes * refactor: strict type def * lint fixes * 🎨 * 🎨 --------- Co-authored-by: 4censord <mail@4censord.de>
28 lines
533 B
JavaScript
28 lines
533 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,
|
|
},
|
|
},
|
|
},
|
|
];
|