Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite library using create-react-library (#900)
* Rewrite library using create-react-library * Export utils properly * Remove unnecessary code and fix eslintignore * Update CHANGELOG
- Loading branch information
1 parent
e70d0f7
commit b3bc11c
Showing
89 changed files
with
20,468 additions
and
5,268 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
build/ | ||
dist/ | ||
node_modules/ | ||
.snapshots/ | ||
*.min.js | ||
*.spec.js |
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,65 +1,33 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": [ | ||
"airbnb", | ||
"prettier", | ||
"prettier/flowtype", | ||
"standard", | ||
"standard-react", | ||
"plugin:prettier/recommended", | ||
"prettier/standard", | ||
"prettier/react" | ||
], | ||
"plugins": [ | ||
"babel", | ||
"prettier" | ||
], | ||
"parser": "babel-eslint", | ||
"env": { | ||
"es6": true, | ||
"browser": true, | ||
"mocha": true, | ||
"jest": true, | ||
"node": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2017, | ||
"sourceType": "module", | ||
"ecmaVersion": 2020, | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
"generators": true, | ||
"experimentalObjectRestSpread": true | ||
"legacyDecorators": true, | ||
"jsx": true | ||
} | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "16" | ||
} | ||
}, | ||
"rules": { | ||
"no-bitwise": 0, | ||
"no-nested-ternary": 0, | ||
"space-before-function-paren": 0, | ||
"react/prop-types": 0, | ||
"react/jsx-filename-extension": 0, | ||
"react/require-default-props": 0, | ||
"react/jsx-handler-names": 0, | ||
"react/jsx-fragments": 0, | ||
"react/no-unused-prop-types": 0, | ||
"no-sequences": 1, | ||
"comma-dangle": 0, | ||
"no-mixed-operators": 0, | ||
"no-underscore-dangle": 0, | ||
"no-restricted-properties": 0, | ||
"jsx-a11y/no-static-element-interactions": 0, | ||
"import/no-extraneous-dependencies": 0, | ||
"no-plusplus": 0, | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"ignoreRestSiblings": true | ||
} | ||
], | ||
"react/sort-comp": 0, | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"trailingComma": "es5", | ||
"singleQuote": true | ||
} | ||
] | ||
}, | ||
"settings": { | ||
"polyfills": [ | ||
"fetch__" | ||
] | ||
}, | ||
"globals": {} | ||
"import/export": 0 | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,4 +1,22 @@ | ||
lib/* | ||
dist/* | ||
/node_modules | ||
.idea/ | ||
|
||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
node_modules | ||
|
||
# builds | ||
build | ||
dist | ||
.rpt2_cache | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"singleQuote": true, | ||
"jsxSingleQuote": true, | ||
"semi": true, | ||
"tabWidth": 2, | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": false, | ||
"arrowParens": "always", | ||
"trailingComma": "es5" | ||
} |
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,11 +1,11 @@ | ||
language: node_js | ||
node_js: | ||
- stable | ||
- stable | ||
cache: | ||
directories: | ||
- node_modules | ||
- node_modules | ||
before_script: | ||
- git diff --exit-code # make sure that yarn.lock didn't change | ||
script: | ||
- yarn run lint | ||
- yarn test:lint | ||
- yarn test |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.