mirror of
https://github.com/ayangweb/BongoCat.git
synced 2026-03-12 17:51:48 +08:00
chore: modifying the eslint configuration (#24)
This commit is contained in:
@@ -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'],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user