Barazo AppView backend barazo.forum
at main 25 lines 680 B view raw
1import tseslint from 'typescript-eslint' 2 3export default tseslint.config( 4 ...tseslint.configs.strictTypeChecked, 5 { 6 languageOptions: { 7 parserOptions: { 8 project: './tsconfig.eslint.json', 9 tsconfigRootDir: import.meta.dirname, 10 }, 11 }, 12 }, 13 { 14 rules: { 15 'no-console': 'error', 16 '@typescript-eslint/no-explicit-any': 'error', 17 '@typescript-eslint/no-unused-vars': [ 18 'error', 19 { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }, 20 ], 21 '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }], 22 }, 23 }, 24 { ignores: ['dist/', 'node_modules/', 'drizzle/', '*.config.*'] } 25)