1 Star 0 Fork 730

码上的汉子 / AS-Editor

forked from 孤傲 / AS-Editor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1004 Bytes
一键复制 编辑 原始数据 按行查看 历史
孤傲 提交于 2021-08-25 14:39 . feat: v1.0.0
module.exports = {
root: true,
env: {
browser: true,
commonjs: true,
node: true,
es6: true,
},
extends: ['plugin:vue/essential', 'eslint:recommended'],
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module',
},
rules: {
'no-console': 'off',
'no-debugger': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'space-before-function-paren': [0, 'always'], // 函数定义时括号前面要不要有空格
'prefer-const': 'off', // 建议使用const
'brace-style': ['error', '1tbs'], // 大括号风格要求
'@typescript-eslint/no-explicit-any': 'off',
'no-useless-constructor': 'off', // 无用的构造函数
'no-useless-return': 'off',
'no-unreachable': 'off', // 禁止在 return、throw、continue 和 break 语句后出现不可达代码
'no-new-object': 'off', // 禁止使用 Object 构造函数
'no-prototype-builtins': 'off',
'vue/no-mutating-props': 'off'
},
parser: 'vue-eslint-parser',
}
JavaScript
1
https://gitee.com/bb666/as-editor.git
git@gitee.com:bb666/as-editor.git
bb666
as-editor
AS-Editor
master

搜索帮助