Commit 9474cfc4 authored by lipengcheng 's avatar lipengcheng

conf

parent aaf2c4cd
...@@ -15,6 +15,11 @@ module.exports = { ...@@ -15,6 +15,11 @@ module.exports = {
parserOptions: { parserOptions: {
parser: 'babel-eslint' parser: 'babel-eslint'
}, },
globals: {
axios: false, //全局使用axios
__PROJECTPATH__: false,
__GATEWAYPATH__: false
},
/**add your custom rules here /**add your custom rules here
* 下面这些rules是用来设置从插件来的规范代码的规则,使用必须去掉前缀eslint-plugin- * 下面这些rules是用来设置从插件来的规范代码的规则,使用必须去掉前缀eslint-plugin-
* 主要有如下的设置规则,可以设置字符串也可以设置数字,两者效果一致 * 主要有如下的设置规则,可以设置字符串也可以设置数字,两者效果一致
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment