Skip to content

Commit a843774

Browse files
committed
Merge branch 'v2' into 'master'
2 parents 17f5989 + adebf2f commit a843774

Some content is hidden

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

85 files changed

+38904
-10846
lines changed

.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ lib
22
scripts
33
playground
44
coverage
5+
*.ts
6+
*.tsx

.eslintrc.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ module.exports = {
6161
"newline-per-chained-call": 0,
6262
"no-confusing-arrow": 0,
6363
"no-console": 1,
64-
"no-param-reassign": "off",
64+
"no-param-reassign": 0,
6565
"no-use-before-define": 0,
66-
"no-underscore-dangle": "off",
67-
"no-unused-expressions": "off",
66+
"no-underscore-dangle": 0,
67+
"no-unused-expressions": 0,
68+
"no-unused-vars": 1,
6869
"prefer-template": 2,
6970
"class-methods-use-this": 0,
7071
"react/forbid-prop-types": 0,
@@ -74,7 +75,9 @@ module.exports = {
7475
],
7576
"react/jsx-filename-extension": 0,
7677
"react/jsx-no-target-blank": 0,
78+
"react/jsx-indent": 0,
7779
"react/require-extension": 0,
80+
"react/no-unused-prop-types": 1,
7881
"react/self-closing-comp": 0,
7982
"react/sort-comp": 0,
8083
"require-jsdoc": "warn"

.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ node_modules
3030
.idea
3131
.vscode
3232

33-
# ignore playground dir
34-
playground
35-
3633
# ignore Webpack stats output
3734
stats.json
35+
36+
# Build outputs
37+
dist
38+
lib
39+
demo/build
40+
demo/public/docs

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package.json

.prettierrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"tabWidth": 2,
6+
"bracketSpacing": true,
7+
"arrowParens": "avoid",
8+
"parser": "typescript",
9+
"overrides": [
10+
{
11+
"files": "*.yaml",
12+
"options": { "parser": "yaml" }
13+
},
14+
{
15+
"files": "*.json",
16+
"options": { "parser": "json" }
17+
}
18+
]
19+
}

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 237 additions & 333 deletions
Large diffs are not rendered by default.

babel.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
presets: [
3+
['@babel/preset-env',{targets: {node: 'current'}}],
4+
'@babel/preset-typescript',
5+
'@babel/preset-react',
6+
],
7+
plugins: [
8+
'@babel/plugin-proposal-class-properties',
9+
],
10+
};

demo/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SKIP_PREFLIGHT_CHECK=true

0 commit comments

Comments
 (0)