1 Star 0 Fork 0

viarotel-org / vue-cli-electron

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
viarotel 提交于 2021-07-13 11:46 . CHANGE
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/recommended',
'plugin:vue/vue3-essential',
'plugin:vue/vue3-strongly-recommended',
'eslint:recommended',
'airbnb-base',
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'vue/no-v-for-template-key': 'off',
'vue/no-v-model-argument': 'off',
'vue/max-attributes-per-line': [
'error',
{
singleline: 1,
multiline: {
max: 1,
allowFirstLine: false,
},
},
],
'vue/no-unused-components': 'warn',
'vue/singleline-html-element-content-newline': 'off',
'vue/html-self-closing': 'off',
'vue/valid-template-root': 'off',
'vue/no-multiple-template-root': 'off',
'linebreak-style': [0, 'error', 'windows'],
'import/no-extraneous-dependencies': ['error', {
devDependencies: true,
}],
'global-require': 'off',
'func-names': ['error', 'as-needed'],
'no-underscore-dangle': 'off',
'import/prefer-default-export': 'off',
'no-useless-escape': 'off',
'import/no-unresolved': 'off',
'no-restricted-syntax': 'off',
'no-unused-vars': 'warn',
'consistent-return': 'off',
'no-param-reassign': 'off',
'no-console': 'off',
'no-shadow': 'off',
'prefer-destructuring': 'off',
'max-len': 'off',
'import/no-absolute-path': 'off',
'default-case': 'off',
'no-plusplus': 'off',
'no-use-before-define': 'off',
'array-callback-return': 'off',
'brace-style': 'off',
'no-tabs': 'off',
'guard-for-in': 'off',
'eqeqeq': 'off',
'no-unused-expressions': 'off',
},
}
1
https://gitee.com/viarotel-org/vue-cli-electron.git
git@gitee.com:viarotel-org/vue-cli-electron.git
viarotel-org
vue-cli-electron
vue-cli-electron
dev

搜索帮助