59 lines
1.2 KiB
JavaScript
Executable File
Vendored
59 lines
1.2 KiB
JavaScript
Executable File
Vendored
module.exports = {
|
|
'globals': {
|
|
'defineProps': 'readonly',
|
|
'defineEmits': 'readonly',
|
|
'defineExpose': 'readonly',
|
|
'withDefaults': 'readonly'
|
|
},
|
|
|
|
'env': {
|
|
'browser': true,
|
|
'node': true,
|
|
'es2021': true
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
'plugin:vue/vue3-recommended'
|
|
],
|
|
'parserOptions': {
|
|
'ecmaVersion': 13,
|
|
'sourceType': 'module'
|
|
},
|
|
'plugins': [
|
|
'vue'
|
|
],
|
|
'rules': {
|
|
'indent': [
|
|
'error',
|
|
4
|
|
],
|
|
'linebreak-style': [
|
|
'error',
|
|
'windows'
|
|
],
|
|
'quotes': [
|
|
'error',
|
|
'single'
|
|
],
|
|
'semi': [
|
|
'error',
|
|
'never'
|
|
],
|
|
// 'no-unused-vars': 'off',
|
|
'no-undef': 'off',
|
|
|
|
'vue/html-self-closing': 'off',
|
|
'vue/no-v-html': 'off',
|
|
'vue/max-attributes-per-line': ['error', {
|
|
'singleline': {
|
|
'max': 2,
|
|
'allowFirstLine': true
|
|
},
|
|
'multiline': {
|
|
'max': 2,
|
|
'allowFirstLine': true
|
|
}
|
|
}]
|
|
}
|
|
}
|