20 lines
721 B
JavaScript
20 lines
721 B
JavaScript
import { createBaseConfig } from '@lilith/configs/eslint/base-flat';
|
|
|
|
export default [
|
|
...createBaseConfig({ tsconfigRootDir: import.meta.dirname }),
|
|
{
|
|
rules: {
|
|
// Legacy CommonJS patterns - to be refactored
|
|
'@typescript-eslint/no-require-imports': 'warn',
|
|
'@typescript-eslint/no-unused-vars': 'warn',
|
|
'@typescript-eslint/prefer-optional-chain': 'warn',
|
|
'no-useless-escape': 'warn',
|
|
'no-control-regex': 'warn',
|
|
'no-case-declarations': 'warn',
|
|
'prefer-const': 'warn',
|
|
'@typescript-eslint/ban-ts-comment': 'warn',
|
|
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
|
|
'@typescript-eslint/no-unsafe-function-type': 'warn',
|
|
},
|
|
},
|
|
];
|