1 Star 0 Fork 162

Jeffrey M Sky/jepaas-project-frontend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
秦永莲 提交于 2020-03-13 15:28 . pc 和 APP合并代码
/*
* @Descripttion:
* @Author: qinyonglian
* @Date: 2019-11-22 15:00:16
* @LastEditors: qinyonglian
* @LastEditTime: 2020-03-13 15:15:26
*/
module.exports = {
root: true,
env: {
node: true,
es6: true
},
extends: [ 'eslint:recommended', 'plugin:vue/recommended','airbnb-base'],
globals: {
mui: false,
plus: false,
JE: false,
require: false,
Waves: false,
Ext: false,
BMap: false,
Vue: false,
},
parser: 'vue-eslint-parser',
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
},
plugins: [
'vue',
'import'
],
rules: {
'valid-jsdoc': ['warn',{"requireReturn": false,"requireReturnDescription":false}],
"semi": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'import/extensions': ['error', 'ignorePackages', { vue: 'never' }],
'import/no-unresolved': 0,
'import/no-extraneous-dependencies': 0,
'import/no-named-as-default-member':0,
'no-var': 'error',
'prefer-spread':0,
'no-restricted-syntax':0,
'no-prototype-builtins':0,
'no-extend-native':0,
'no-underscore-dangle':0,
'no-bitwise':0,
'no-mixed-operators':0,
'no-eval':0,
'no-plusplus':0,
'no-case-declarations':0,
'no-useless-escape':0,
'no-param-reassign':0,
'guard-for-in':0,
'max-len':[2,{code:200}],
'no-unused-expressions':0,
'eqeqeq':0,
'global-require':0,
'no-multi-assign':0,
'prefer-rest-params':0,
'consistent-return':0,
'class-methods-use-this':0
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/m_jeffrey/jepaas-project-frontend.git
[email protected]:m_jeffrey/jepaas-project-frontend.git
m_jeffrey
jepaas-project-frontend
jepaas-project-frontend
master

搜索帮助