2 Star 9 Fork 8

anye931123/react-visual-editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
黑主辉阎 提交于 2021-02-21 22:49 . feat:方法节点支持
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"react-hooks",
"import"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"settings": {
"react": {
"version": "16.8"
}
},
"env": {
"browser": true,
"jest": true,
"es6": true,
"node": true
},
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-use-before-define": 0,
"react/jsx-indent-props": 0,
"react/jsx-uses-react": 1,
"react/prop-types": 0,
"no-useless-escape": 0,
"no-template-curly-in-string": 0,
"semi": [2, "always"],
"import/no-self-import": [2],
"import/no-cycle": [2],
"import/no-duplicates": [2],
"import/newline-after-import": [2],
"import/order": [
"error",
{
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["builtin"],
"groups": ["external", "builtin", "internal", "sibling", "parent"]
}
],
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/anye931123/react-visual-editor.git
git@gitee.com:anye931123/react-visual-editor.git
anye931123
react-visual-editor
react-visual-editor
master

搜索帮助