1 Star 1 Fork 1

Halo / editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 671 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ryan Wang 提交于 2022-02-15 21:48 . chore: add eslint and reformat code
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true
},
extends: ['plugin:vue/essential', 'eslint:recommended', 'plugin:prettier/recommended'],
parserOptions: {
ecmaVersion: 2021
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/no-mutating-props': 0,
'vue/multi-word-component-names': 0,
'prettier/prettier': [
'error',
{
printWidth: 120,
semi: false,
singleQuote: true,
trailingComma: 'none',
arrowParens: 'avoid'
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/halo-dev/editor.git
git@gitee.com:halo-dev/editor.git
halo-dev
editor
editor
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891