1 Star 0 Fork 147

fangwuyi/yapi

forked from suxiaoxin/yapi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 764 Bytes
一键复制 编辑 原始数据 按行查看 历史
suwenxiong 提交于 2019-01-30 10:13 . feat: 优化token,增加用户信息
module.exports = {
env: {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
extends: ["eslint:recommended", "plugin:react/recommended"],
parser: "babel-eslint",
parserOptions: {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
plugins: [
"react",
"import"
],
rules: {
"indent": ["off", 2],
"react/display-name": ["off"],
"react/jsx-indent": ["error", 2],
"comma-dangle": ["error", "never"],
"no-console": ["off"],
"import/no-unresolved": ["off"],
"react/no-find-dom-node": ["off"],
"no-empty": ["off"]
// "react/no-unescaped-entities": 0
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/fangwuyi_peter/yapi.git
git@gitee.com:fangwuyi_peter/yapi.git
fangwuyi_peter
yapi
yapi
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385