Skip to content

Commit

Permalink
chore: drip-form初始化
Browse files Browse the repository at this point in the history
  • Loading branch information
mengshang918 authored and mengshang918 committed Nov 26, 2021
0 parents commit 1e52713
Show file tree
Hide file tree
Showing 360 changed files with 40,259 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{less,json,yaml,styl,yml}]
indent_style = tab

[*.{md,mdx}]
indent_style = tab
insert_final_newline = false
trim_trailing_whitespace = false
22 changes: 22 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.idea/
.vscode/
**/node_modules
.DS_Store
*.log
yarn.lock

# Build Script
scripts/
*.config.js

# Packages ignore
packages/drip-form/dist
packages/drip-form-theme-antd/dist
packages/drip-form-theme-antd/dist-css
packages/utils/dist
packages/hooks/dist
website/
coverage
packages/*/dist
packages/*/dist-css
examples/*/dist
54 changes: 54 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
env:
jest: true
browser: true
es6: true
node: true
extends:
- 'plugin:@typescript-eslint/recommended'
- 'plugin:react/recommended'
- 'plugin:react-hooks/recommended'
- 'eslint:recommended'
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: 2018
sourceType: module
plugins:
- react
- react-hooks
- '@typescript-eslint'
overrides:
- files:
- '*.ts'
- '*.tsx'
rules:
'no-undef': 'off'
settings:
react:
version: 'detect'
rules:
linebreak-style:
- error
- unix
quotes:
- error
- single
semi:
- error
- never
no-var: error
no-var-requires: 0
no-unused-vars: 0
'@typescript-eslint/no-unused-vars':
- error
'react/prop-types': 0
'@typescript-eslint/no-var-requires': 0
'@typescript-eslint/no-explicit-any': 0
'@typescript-eslint/explicit-module-boundary-types':
- error
- allowArgumentsExplicitlyTypedAsAny: true
allowHigherOrderFunctions: true
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
node_modules
src/assets/images/.DS_Store
/dist
.cache
.DS_Store
.idea
.package-lock.json
yarn-error.log
npm-debug.log
lerna-debug.log
examples/**/dist
packages/**/node_modules
packages/**/dist
packages/**/dist-css
packages/**/build-info
packages/**/build-css-info
.size-snapshot.json
coverage
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@jdfed:registry=https://registry.npmjs.org/
registry=https://registry.npmjs.org/
2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
semi: false
singleQuote: true
30 changes: 30 additions & 0 deletions .stylus-supremacy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"stylusSupremacy.insertColons": false,
"stylusSupremacy.insertSemicolons": false,
"stylusSupremacy.insertBraces": false,
"stylusSupremacy.insertNewLineAroundImports": true,
"stylusSupremacy.insertNewLineAroundBlocks": true,
"stylusSupremacy.insertNewLineAroundProperties": false,
"stylusSupremacy.insertNewLineAroundOthers": false,
"stylusSupremacy.insertSpaceBeforeComment": true,
"stylusSupremacy.insertSpaceAfterComment": true,
"stylusSupremacy.insertSpaceAfterComma": true,
"stylusSupremacy.insertSpaceInsideParenthesis": false,
"stylusSupremacy.insertParenthesisAfterNegation": false,
"stylusSupremacy.insertParenthesisAroundIfCondition": true,
"stylusSupremacy.insertNewLineBeforeElse": false,
"stylusSupremacy.insertLeadingZeroBeforeFraction": true,
"stylusSupremacy.selectorSeparator": ",\n",
"stylusSupremacy.tabStopChar": "\t",
"stylusSupremacy.newLineChar": "\n",
"stylusSupremacy.quoteChar": "'",
"stylusSupremacy.sortProperties": "grouped",
"stylusSupremacy.alwaysUseImport": false,
"stylusSupremacy.alwaysUseNot": false,
"stylusSupremacy.alwaysUseAtBlock": false,
"stylusSupremacy.alwaysUseExtends": false,
"stylusSupremacy.alwaysUseNoneOverZero": false,
"stylusSupremacy.alwaysUseZeroWithoutUnit": true,
"stylusSupremacy.reduceMarginAndPaddingValues": true,
"stylusSupremacy.ignoreFiles": []
}
348 changes: 348 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 JD.com, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 1e52713

Please sign in to comment.