mirror of
https://github.com/HumanAIGC-Engineering/OpenAvatarChat-WebUI.git
synced 2026-02-04 09:29:21 +08:00
22 lines
536 B
JavaScript
22 lines
536 B
JavaScript
import pluginVue from 'eslint-plugin-vue'
|
|
import globals from 'globals'
|
|
|
|
export default [
|
|
// add more generic rulesets here, such as:
|
|
// js.configs.recommended,
|
|
...pluginVue.configs['flat/recommended'],
|
|
// ...pluginVue.configs['flat/vue2-recommended'], // Use this if you are using Vue.js 2.x.
|
|
{
|
|
rules: {
|
|
// override/add rules settings here, such as:
|
|
// 'vue/no-unused-vars': 'error'
|
|
},
|
|
languageOptions: {
|
|
sourceType: 'module',
|
|
globals: {
|
|
...globals.browser,
|
|
},
|
|
},
|
|
},
|
|
]
|