2024-07-02 11:38:34 +09:00
|
|
|
import tsParser from '@typescript-eslint/parser';
|
|
|
|
import sharedConfig from '../shared/eslint.config.js';
|
|
|
|
|
2024-07-25 16:40:14 +09:00
|
|
|
// eslint-disable-next-line import/no-default-export
|
2024-07-02 11:38:34 +09:00
|
|
|
export default [
|
|
|
|
...sharedConfig,
|
|
|
|
{
|
|
|
|
ignores: [
|
|
|
|
'**/node_modules',
|
|
|
|
'built',
|
|
|
|
'coverage',
|
|
|
|
'jest.config.ts',
|
|
|
|
'test',
|
|
|
|
'test-d',
|
|
|
|
'generator',
|
2025-03-25 16:14:53 -04:00
|
|
|
'**/lib/',
|
|
|
|
'**/temp/',
|
|
|
|
'**/built/',
|
|
|
|
'**/coverage/',
|
|
|
|
'**/node_modules/',
|
2024-07-02 11:38:34 +09:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
|
|
languageOptions: {
|
|
|
|
parserOptions: {
|
|
|
|
parser: tsParser,
|
|
|
|
project: ['./tsconfig.json'],
|
|
|
|
sourceType: 'module',
|
|
|
|
tsconfigRootDir: import.meta.dirname,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-10-16 10:30:38 -04:00
|
|
|
{
|
2025-02-15 10:24:22 +09:00
|
|
|
files: ['src/autogen/**/*.ts', 'src/autogen/**/*.tsx'],
|
|
|
|
rules: {
|
|
|
|
'@stylistic/indent': 'off',
|
|
|
|
},
|
2024-10-16 10:30:38 -04:00
|
|
|
},
|
2024-07-02 11:38:34 +09:00
|
|
|
];
|