mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
27 lines
594 B
JavaScript
27 lines
594 B
JavaScript
import config from '@pengzhanbo/eslint-config-vue'
|
|
|
|
export default config({
|
|
ignores: ['lib'],
|
|
globals: {
|
|
__VUEPRESS_VERSION__: 'readonly',
|
|
__VUEPRESS_BASE__: 'readonly',
|
|
__VUEPRESS_DEV__: 'readonly',
|
|
__VUEPRESS_SSR__: 'readonly',
|
|
__VUE_HMR_RUNTIME__: 'readonly',
|
|
__VUE_OPTIONS_API__: 'readonly',
|
|
__VUE_PROD_DEVTOOLS__: 'readonly',
|
|
},
|
|
}, {
|
|
files: ['**/*.vue'],
|
|
rules: {
|
|
'vue/no-v-text-v-html-on-component': 'off',
|
|
},
|
|
}, {
|
|
files: ['**/*.md/*.ts'],
|
|
rules: {
|
|
'import/no-duplicates': 'off',
|
|
'import/first': 'off',
|
|
'no-new': 'off',
|
|
},
|
|
})
|