1 Star 0 Fork 0

玛卡巴卡/yarn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.json 990 Bytes
一键复制 编辑 原始数据 按行查看 历史
{
"extends": "eslint-config-fb-strict",
"env": {
"jest": true
},
"plugins": [
"flowtype",
"yarn-internal",
"prettier"
],
"rules": {
"yarn-internal/warn-language": "error",
"max-len": ["error", 120],
"prefer-arrow-callback": "off",
"flowtype/require-valid-file-annotation": ["error", "always"],
"flowtype/space-after-type-colon": ["error", "always"],
"flowtype/require-return-type": ["error", "always", {"excludeArrowFunctions": true}],
"require-await": "error",
"no-process-exit": "error",
"no-return-await": "error",
"sort-keys": "off",
"prettier/prettier": ["error", {
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"printWidth": 120,
"parser": "flow"
}]
},
"overrides": [
{
"files": [
"__tests__/fixtures/**/*.js",
"bin/*.js",
"src/cli/index.js"
],
"rules": {
"no-console": "off"
}
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/shellyan/yarn.git
git@gitee.com:shellyan/yarn.git
shellyan
yarn
yarn
master

搜索帮助