-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 一些修改 * feat: plugins 删除 * fix: 修复 scenes 逻辑 * feat: 添加 view * feat: 修改 demo * refactor: useSubmit 重构 * feat: submit 重构 * fix: test * feat: 搜索场景完善 * fix: 修复 placeholder * test: snap * fix: 修复渲染 dom 样式问题 去掉 scens 参数 * feat: custom 支持 showType * fix: 单选自定义 render * test: 完善单元测试 * test: test * feat: add flags * test: test * test: test * test: test * test: test * test: test * test: test * test: test * test: test * test: test * feat: 0.8.5 * feat: 添加日期区间 * test: remove _item_type * feat: 添加初步对比功能 * feat: 开始做 isShow Function 判断 * feat: items 添加 isshow function * feat: 如果字段是 undefined 则不需要执行 set 了 * fix: 修复值渲染问题 * fix: test * fix: test * feat: 代码优化 * fix: List 透传 scenes * refactor: format 修改为 2 个参数 * refactor: 删除 showType * feat: 添加 modify * feat: date 重构格式化方式 * feat: 完善基础 diff view * fix: 修复报错抛出 * feat: test * feat: list 处理参数 * fix: 修复会改 name 源数据 * feat: 优化代码 * feat: 开始做 ModalForm * feat: 删除 required * feat: 更新规则 * feat: 添加 space * feat: 添加校验 * feat: 终于可以多层级有动态对比交互 * fix: test * chore: 此方案不通,不太好 * feat: 完善 diff 逻辑 * chore: 删除未使用 * feat: vercel Co-authored-by: crazyair <jianfeng.huang@yunzhanghu.com>
- Loading branch information
Showing
44 changed files
with
1,303 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,24 @@ | ||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'react-hooks'], | ||
extends: ['airbnb-typescript', 'prettier/@typescript-eslint'], | ||
plugins: ['react-hooks'], | ||
extends: [require.resolve('@umijs/fabric/dist/eslint')], | ||
rules: { | ||
'react-hooks/rules-of-hooks': 'error', // 检查 Hook 的规则 | ||
'react-hooks/exhaustive-deps': 'error', // 检查 effect 的依赖 | ||
'jsx-a11y/heading-has-content': 0, | ||
'react/destructuring-assignment': 0, | ||
'react/prop-types': 0, | ||
'jsx-a11y/label-has-associated-control': 0, | ||
'arrow-body-style': 0, | ||
'import/no-extraneous-dependencies': 0, | ||
'no-param-reassign': 0, | ||
'object-curly-newline': 0, | ||
'import/prefer-default-export': 0, | ||
'react/jsx-indent': 0, | ||
'react/jsx-indent-props': 0, | ||
'comma-dangle': 0, | ||
'no-template-curly-in-string': 0, | ||
'implicit-arrow-linebreak': 0, | ||
'react/jsx-one-expression-per-line': 0, | ||
'import/no-cycle': 0, | ||
'import/no-unresolved': 0, | ||
'no-underscore-dangle': 0, | ||
'consistent-return': 0, | ||
'max-len': 0, | ||
'operator-linebreak': 0, | ||
'no-shadow': 0, | ||
'prefer-promise-reject-errors': 0, | ||
'no-else-return': 0, | ||
'import/no-extraneous-dependencies': 0, | ||
'global-require': 0, | ||
'import/no-dynamic-require': 0, | ||
'react/sort-comp': 0, | ||
'jsx-a11y/aria-role': 0, | ||
'no-void': 0, | ||
'no-param-reassign': 0, | ||
'no-control-regex': 0, | ||
'no-plusplus': 0, | ||
'consistent-return': 0, | ||
'no-template-curly-in-string': 0, | ||
'prefer-promise-reject-errors': 0, | ||
'no-lonely-if': 0, | ||
'no-undef': 0, | ||
'no-tabs': 0, | ||
'no-mixed-spaces-and-tabs': 0, | ||
'import/no-unresolved': [0], | ||
'no-unused-expressions': 0, | ||
'jsx-a11y/click-events-have-key-events': 0, | ||
'jsx-a11y/anchor-is-valid': 0, | ||
'jsx-a11y/no-static-element-interactions': 0, | ||
'arrow-parens': 0, | ||
'@typescript-eslint/camelcase': 0, | ||
'no-shadow': 0, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.