mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-12-28 20:10:22 +08:00
style: lint
This commit is contained in:
@@ -9,10 +9,13 @@ export default antfu({
|
||||
'no-undef': 'error',
|
||||
'no-fallthrough': 'off',
|
||||
'vue/block-order': 'off',
|
||||
'@typescript-eslint/no-this-alias': 'off',
|
||||
'prefer-promise-reject-errors': 'off',
|
||||
},
|
||||
languageOptions: {
|
||||
globals: {
|
||||
h: 'readonly',
|
||||
unref: 'readonly',
|
||||
provide: 'readonly',
|
||||
inject: 'readonly',
|
||||
markRaw: 'readonly',
|
||||
@@ -21,8 +24,11 @@ export default antfu({
|
||||
useRoute: 'readonly',
|
||||
useRouter: 'readonly',
|
||||
Message: 'readonly',
|
||||
Modal: 'readonly',
|
||||
NProgress: 'readonly',
|
||||
$loadingBar: 'readonly',
|
||||
$message: 'readonly',
|
||||
$dialog: 'readonly',
|
||||
$notification: 'readonly',
|
||||
$modal: 'readonly',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user