Skip to content

Commit 1e52713

Browse files
mengshang918mengshang918
mengshang918
authored andcommitted
chore: drip-form初始化
0 parents  commit 1e52713

File tree

360 files changed

+40259
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

360 files changed

+40259
-0
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 2
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{less,json,yaml,styl,yml}]
12+
indent_style = tab
13+
14+
[*.{md,mdx}]
15+
indent_style = tab
16+
insert_final_newline = false
17+
trim_trailing_whitespace = false

.eslintignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.idea/
2+
.vscode/
3+
**/node_modules
4+
.DS_Store
5+
*.log
6+
yarn.lock
7+
8+
# Build Script
9+
scripts/
10+
*.config.js
11+
12+
# Packages ignore
13+
packages/drip-form/dist
14+
packages/drip-form-theme-antd/dist
15+
packages/drip-form-theme-antd/dist-css
16+
packages/utils/dist
17+
packages/hooks/dist
18+
website/
19+
coverage
20+
packages/*/dist
21+
packages/*/dist-css
22+
examples/*/dist

.eslintrc.yml

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
env:
2+
jest: true
3+
browser: true
4+
es6: true
5+
node: true
6+
extends:
7+
- 'plugin:@typescript-eslint/recommended'
8+
- 'plugin:react/recommended'
9+
- 'plugin:react-hooks/recommended'
10+
- 'eslint:recommended'
11+
globals:
12+
Atomics: readonly
13+
SharedArrayBuffer: readonly
14+
parser: '@typescript-eslint/parser'
15+
parserOptions:
16+
ecmaFeatures:
17+
jsx: true
18+
ecmaVersion: 2018
19+
sourceType: module
20+
plugins:
21+
- react
22+
- react-hooks
23+
- '@typescript-eslint'
24+
overrides:
25+
- files:
26+
- '*.ts'
27+
- '*.tsx'
28+
rules:
29+
'no-undef': 'off'
30+
settings:
31+
react:
32+
version: 'detect'
33+
rules:
34+
linebreak-style:
35+
- error
36+
- unix
37+
quotes:
38+
- error
39+
- single
40+
semi:
41+
- error
42+
- never
43+
no-var: error
44+
no-var-requires: 0
45+
no-unused-vars: 0
46+
'@typescript-eslint/no-unused-vars':
47+
- error
48+
'react/prop-types': 0
49+
'@typescript-eslint/no-var-requires': 0
50+
'@typescript-eslint/no-explicit-any': 0
51+
'@typescript-eslint/explicit-module-boundary-types':
52+
- error
53+
- allowArgumentsExplicitlyTypedAsAny: true
54+
allowHigherOrderFunctions: true

.gitignore

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
node_modules
2+
src/assets/images/.DS_Store
3+
/dist
4+
.cache
5+
.DS_Store
6+
.idea
7+
.package-lock.json
8+
yarn-error.log
9+
npm-debug.log
10+
lerna-debug.log
11+
examples/**/dist
12+
packages/**/node_modules
13+
packages/**/dist
14+
packages/**/dist-css
15+
packages/**/build-info
16+
packages/**/build-css-info
17+
.size-snapshot.json
18+
coverage

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@jdfed:registry=https://registry.npmjs.org/
2+
registry=https://registry.npmjs.org/

.prettierrc.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
semi: false
2+
singleQuote: true

.stylus-supremacy.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"stylusSupremacy.insertColons": false,
3+
"stylusSupremacy.insertSemicolons": false,
4+
"stylusSupremacy.insertBraces": false,
5+
"stylusSupremacy.insertNewLineAroundImports": true,
6+
"stylusSupremacy.insertNewLineAroundBlocks": true,
7+
"stylusSupremacy.insertNewLineAroundProperties": false,
8+
"stylusSupremacy.insertNewLineAroundOthers": false,
9+
"stylusSupremacy.insertSpaceBeforeComment": true,
10+
"stylusSupremacy.insertSpaceAfterComment": true,
11+
"stylusSupremacy.insertSpaceAfterComma": true,
12+
"stylusSupremacy.insertSpaceInsideParenthesis": false,
13+
"stylusSupremacy.insertParenthesisAfterNegation": false,
14+
"stylusSupremacy.insertParenthesisAroundIfCondition": true,
15+
"stylusSupremacy.insertNewLineBeforeElse": false,
16+
"stylusSupremacy.insertLeadingZeroBeforeFraction": true,
17+
"stylusSupremacy.selectorSeparator": ",\n",
18+
"stylusSupremacy.tabStopChar": "\t",
19+
"stylusSupremacy.newLineChar": "\n",
20+
"stylusSupremacy.quoteChar": "'",
21+
"stylusSupremacy.sortProperties": "grouped",
22+
"stylusSupremacy.alwaysUseImport": false,
23+
"stylusSupremacy.alwaysUseNot": false,
24+
"stylusSupremacy.alwaysUseAtBlock": false,
25+
"stylusSupremacy.alwaysUseExtends": false,
26+
"stylusSupremacy.alwaysUseNoneOverZero": false,
27+
"stylusSupremacy.alwaysUseZeroWithoutUnit": true,
28+
"stylusSupremacy.reduceMarginAndPaddingValues": true,
29+
"stylusSupremacy.ignoreFiles": []
30+
}

CHANGELOG.md

+348
Large diffs are not rendered by default.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 JD.com, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)