chore: modifying the eslint configuration (#24)

This commit is contained in:
ayangweb
2025-04-01 09:21:58 +08:00
committed by GitHub
parent 9485625065
commit bf9cfc128a

View File

@@ -1,13 +1,13 @@
import antfu from '@antfu/eslint-config'
export default antfu({
formatters: true,
unocss: true,
rules: {
'antfu/if-newline': 'off',
'style/brace-style': ['error', '1tbs'],
'ts/no-use-before-define': 'off',
'unused-imports/no-unused-imports': 'error',
'perfectionist/sort-imports': 'off',
'import/order': [
'error',
{
@@ -20,5 +20,5 @@ export default antfu({
},
],
},
ignores: ['src-tauri'],
ignores: ['**/*.toml'],
})