1 Star 0 Fork 117

dawsonli / xdh-web

forked from VTJ.PRO / xdh-web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
踩着两条虫 提交于 2018-07-11 15:23 . !11 v2.1.0
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint'
},
env: {
browser: true,
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
'plugin:vue/base',
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
'standard'
],
// required to lint *.vue files
plugins: [
'vue'
],
// add your custom rules here
rules: {
'indent': 0,
'vue/script-indent': 0,
'no-console': 0,
'no-trailing-spaces': 0,
'no-multiple-empty-lines': 0,
'no-extra-boolean-cast': 0,
'valid-jsdoc': 0,
'one-var': 0,
'semi': 0,
'no-new': 0,
'no-extra-semi': 0,
'keyword-spacing': 0,
'space-before-function-paren': 0,
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// 禁止混合使用不同的操作符
'no-mixed-operators': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'padded-blocks': 0,
'eol-last': 0
}
}
JavaScript
1
https://gitee.com/dawsonli/xdh-web.git
git@gitee.com:dawsonli/xdh-web.git
dawsonli
xdh-web
xdh-web
master

搜索帮助