tei.su/eslint.config.js
alina sireneva ad494b18ec
Some checks failed
Publish and deploy / publish (push) Failing after 13s
Publish and deploy / deploy (push) Has been skipped
chore: migrated to forgejo
2025-01-04 02:59:49 +03:00

32 lines
940 B
JavaScript

import antfu from '@antfu/eslint-config'
export default antfu({
stylistic: {
indent: 4,
},
typescript: true,
astro: true,
solid: true,
yaml: false,
rules: {
'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',
'import/order': ['error', {
'newlines-between': 'always',
'pathGroups': [
{
pattern: '~/**',
group: 'parent',
},
],
}],
'antfu/if-newline': 'off',
'style/max-statements-per-line': ['error', { max: 2 }],
'ts/no-redeclare': 'off',
'node/prefer-global/process': 'off',
},
})