1 Star 0 Fork 0

刘勇/newGit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
leoYongleo 提交于 2019-11-21 17:59 . ss
// https://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parserOptions: {
"ecmaVersion": 6,
parser: 'babel-eslint',
"ecmaFeatures": {
"jsx": true
}
},
env: {
browser: true,
node: true,
amd: 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/essential',
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
'standard'
],
// required to lint *.vue files
plugins: [
'vue'
],
// add your custom rules here
// (https://cn.eslint.org/docs/rules/)
rules: {
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
"indent": ["error", 4],
"comma-dangle": ["error", "always"],
"array-bracket-spacing": ["error", "always", { "singleValue": true, "objectsInArrays": true, "arraysInArrays": true }],
"semi" : ["error", "always"],
"no-multiple-empty-lines": ["error", { "max": 3, "maxEOF": 1 }],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
'standard/object-curly-even-spacing': 0
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/l_liu_yong/newGit.git
git@gitee.com:l_liu_yong/newGit.git
l_liu_yong
newGit
newGit
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385