1 Star 0 Fork 0

懒懒的狸花猫/tagspaces

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"extends": ["airbnb", "prettier"],
"env": {
"browser": true,
"node": true
},
"rules": {
"indent": ["off", 2, { "SwitchCase": 1 }],
"max-len": ["warn", { "code": 150 }],
"react/jsx-indent": ["warn", 2],
"arrow-parens": ["off"],
"consistent-return": "off",
"comma-dangle": "off",
"compat/compat": "warn",
"generator-star-spacing": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"no-console": "warn",
"no-use-before-define": "off",
"no-multi-assign": "off",
"prefer-template": "off",
"promise/param-names": "error",
"promise/always-return": "error",
"promise/catch-or-return": "error",
"promise/no-native": "off",
"react/sort-comp": [
"error",
{
"order": [
"type-annotations",
"static-methods",
"lifecycle",
"everything-else",
"render"
]
}
],
"react/jsx-no-bind": "off",
"react/jsx-filename-extension": [
"error",
{ "extensions": [".ts", ".tsx"] }
],
"react/jsx-indent-props": ["warn", 2],
"react/prefer-stateless-function": "off",
"react/forbid-prop-types": "warn",
"react/destructuring-assignment": "off",
"react/jsx-boolean-value": "off"
},
"plugins": ["import", "promise", "compat", "react"]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dxpAndroid/tagspaces.git
git@gitee.com:dxpAndroid/tagspaces.git
dxpAndroid
tagspaces
tagspaces
develop

搜索帮助