4 Star 7 Fork 1

Gitee 极速下载 / react-markdown-editor-lite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/HarryChen0506/react-markdown-editor-lite
克隆/下载
.eslintrc 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
泷涯 提交于 2021-06-28 11:56 . feat: support autoFocus (#214)
{
"extends": ["airbnb-typescript"],
"env": {
"browser": true,
"jest": true
},
"rules": {
"jsx-a11y/href-no-hash": [0],
"jsx-a11y/click-events-have-key-events": [0],
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["to"]
}
],
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": [0],
"jsx-a11y/no-autofocus": "off",
"react/sort-comp": "off",
"react/no-array-index-key": "off",
"react/no-did-update-set-state": "off",
"react/no-access-state-in-setstate": "off",
"react/react-in-jsx-scope": [0],
"react/forbid-prop-types": [0],
"react/require-default-props": [0],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"react/destructuring-assignment": [0],
"import/extensions": [0],
"import/no-unresolved": [0],
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": true }],
"arrow-parens": ["error", "always"],
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
"object-curly-newline": ["error", { "consistent": true }],
"function-paren-newline": ["error", "consistent"],
"class-methods-use-this": [0],
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-unused-vars": "off",
"max-len": ["error", { "code": 200 }],
"no-alert": "off",
"max-classes-per-file": "off",
"no-plusplus": "off",
"no-restricted-syntax": "off",
"no-console": "off",
"default-case": "off",
"consistent-return": "off",
"no-return-assign": "off"
},
"parserOptions": {
"project": "./tsconfig.json"
}
}
TypeScript
1
https://gitee.com/mirrors/react-markdown-editor-lite.git
git@gitee.com:mirrors/react-markdown-editor-lite.git
mirrors
react-markdown-editor-lite
react-markdown-editor-lite
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891