Skip to content

Commit

Permalink
feat: 改进validator, tabs类型字段支持验证
Browse files Browse the repository at this point in the history
  • Loading branch information
dongls committed Mar 4, 2021
1 parent 1615c03 commit b98389b
Show file tree
Hide file tree
Showing 66 changed files with 965 additions and 435 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ module.exports = {
rules: {
'@typescript-eslint/no-var-requires': 'off'
}
},
{
files: ['**.ts', '**.tsx'],
rules: {
'no-var': 'off',
'indent': 'off',
'@typescript-eslint/indent': ['error', 2]
}
}, {
files: ['**.d.ts'],
rules: {
Expand Down
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const presets = [
['@babel/preset-env', {
useBuiltIns: 'usage',
corejs: 3
corejs: 3,
// debug: true
}]
];

Expand Down
1 change: 1 addition & 0 deletions docs/04310071d34b402cd9ac.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/321.dd754536.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/321.f8ff96df.js

This file was deleted.

2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="zh-hans-cn"><head><meta charset="UTF-8"><meta name="author" content="dongls,[email protected]"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>xForm示例</title><meta name="xform:date" content="2021/02/21 21:33:31"><script defer="defer" src="/xForm/main.6e1cdefe.js"></script><link href="/xForm/main.b762e292.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
<!doctype html><html lang="zh-hans-cn"><head><meta charset="UTF-8"><meta name="author" content="dongls,[email protected]"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>xForm示例</title><meta name="xform:date" content="2021/03/05 00:55:23"><script defer="defer" src="/xForm/main.57f78cb6.js"></script><link href="/xForm/main.6c55aea2.css" rel="stylesheet"></head><body><div id="app"></div></body></html>
1 change: 0 additions & 1 deletion docs/55.51e8f6aa.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/55.871372d6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/811.8fd950e7.js

Large diffs are not rendered by default.

Loading

0 comments on commit b98389b

Please sign in to comment.