1 Star 0 Fork 823

jeffrey / vue-admin-beautiful

forked from good_luck / vue-admin-better 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 820 Bytes
一键复制 编辑 原始数据 按行查看 历史
good_luck 提交于 2022-06-22 12:39 . 🐛 fix: eslint
/**
* @author https://gitee.com/chu1204505056/vue-admin-better (不想保留author可删除)
* @description .eslintrc.js
*/
module.exports = {
root: true,
env: {
node: true,
},
extends: ['plugin:vue/recommended', '@vue/prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/no-v-html': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-useless-template-attributes': 'off',
'vue/no-reserved-component-names': 'off',
},
parserOptions: {
parser: 'babel-eslint',
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)',
],
env: {
jest: true,
},
},
],
}
JavaScript
1
https://gitee.com/ajiecs/vue-admin-beautiful.git
git@gitee.com:ajiecs/vue-admin-beautiful.git
ajiecs
vue-admin-beautiful
vue-admin-beautiful
master

搜索帮助