Последняя версия с сервера прошлого разработчика
This commit is contained in:
58
.eslintrc.js
vendored
Executable file
58
.eslintrc.js
vendored
Executable file
@@ -0,0 +1,58 @@
|
||||
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
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user