tei.su/eslint.config.js
2025-01-25 13:42:13 +03:00

26 lines
703 B
JavaScript

import antfu from '@antfu/eslint-config'
export default antfu({
ignores: [
'public',
'drizzle',
],
typescript: true,
astro: true,
solid: true,
yaml: false,
unocss: true,
rules: {
'antfu/no-top-level-await': 'off',
'curly': ['error', 'multi-line'],
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'n/prefer-global/buffer': 'off',
'style/quotes': ['error', 'single', { avoidEscape: true }],
'test/consistent-test-it': 'off',
'test/prefer-lowercase-title': 'off',
'antfu/if-newline': 'off',
'style/max-statements-per-line': ['error', { max: 2 }],
'ts/no-redeclare': 'off',
'node/prefer-global/process': 'off',
},
})