chore: update public repo

This commit is contained in:
desu-bot 2025-01-14 02:38:00 +00:00
parent e0109980c0
commit e7c9507247
No known key found for this signature in database
25 changed files with 5364 additions and 0 deletions

22
eslint.config.js Normal file
View file

@ -0,0 +1,22 @@
import antfu from '@antfu/eslint-config'
export default antfu({
ignores: ['assets/'],
typescript: true,
rules: {
'curly': ['error', 'multi-line'],
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'n/prefer-global/buffer': 'off',
'no-restricted-globals': ['error', 'Buffer', '__dirname', 'require'],
'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',
'no-alert': 'off',
'no-console': 'off',
'node/prefer-global/process': 'off',
'unused-imports/no-unused-vars': 'off',
},
})