admin-vben/internal/lint-configs/eslint-config/src/custom-config.ts

21 lines
425 B
TypeScript
Raw Normal View History

2024-05-19 13:20:42 +00:00
import type { Linter } from 'eslint';
const customConfig: Linter.FlatConfig[] = [
{
2024-06-23 12:03:41 +00:00
files: ['packages/@core/ui-kit/shadcn-ui/**/**'],
2024-05-19 13:20:42 +00:00
rules: {
'vue/require-default-prop': 'off',
},
},
2024-06-23 05:19:55 +00:00
{
files: ['apps/backend-mock/**/**'],
rules: {
'@typescript-eslint/no-extraneous-class': 'off',
'no-console': 'off',
2024-06-30 14:28:35 +00:00
'unicorn/prefer-module': 'off',
2024-06-23 05:19:55 +00:00
},
},
2024-05-19 13:20:42 +00:00
];
export { customConfig };