当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 8

shech/vue-material-admin
暂停

forked from 陈夕/vue-material-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
陈华杰 提交于 2021-03-05 10:32 . up
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
rules: {
"no-undef": 'error',
"no-empty": 'off',
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
"object-curly-newline": ["warn", { "consistent": true }],
"function-paren-newline": ["warn", "consistent"],
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"arrow-parens": ["warn", "always"],
"indent": ["warn", 4],
"arrow-spacing": ["warn", { "before": true, "after": true }],
"no-unused-vars": 1,
"semi": ["warn", "always"],
"quotes": ["warn", "single"],
"quote-props": ["warn", "consistent-as-needed"]
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)'
],
env: {
jest: true
}
}
],
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/swantb/vue-material-admin.git
git@gitee.com:swantb/vue-material-admin.git
swantb
vue-material-admin
vue-material-admin
master

搜索帮助