This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eecd541
commit 31417f7
Showing
19 changed files
with
7,697 additions
and
327 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,9 @@ | ||
module.exports = { | ||
presets: [["babel-preset-jason", { runtime: false }]], | ||
plugins: [["babel-plugin-transform-react-remove-prop-types", { mode: "wrap" }]], | ||
env: { | ||
esm: { | ||
presets: [["babel-preset-jason", { modules: false }]], | ||
}, | ||
}, | ||
}; |
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,15 @@ | ||
# EditorConfig helps developers define and maintain | ||
# consistent coding styles between different editors and IDEs. | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,3 @@ | ||
/node_modules | ||
/build | ||
/dist |
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,66 @@ | ||
{ | ||
"root": true, | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"impliedStrict": true, | ||
"jsx": true | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"plugins": ["react"], | ||
"extends": [ | ||
"react-app", | ||
"plugin:react/recommended", | ||
"airbnb-base/legacy", | ||
"airbnb/hooks", | ||
"airbnb", | ||
"prettier" | ||
], | ||
"rules": { | ||
"semi": ["warn", "always"], | ||
"quotes": ["warn", "double"], | ||
"max-len": [ | ||
"warn", | ||
{ | ||
"code": 100, | ||
"tabWidth": 4, | ||
"ignoreUrls": true, | ||
"ignoreTemplateLiterals": true, | ||
"ignoreStrings": true | ||
} | ||
], | ||
"react/jsx-filename-extension": ["off"], | ||
"react/state-in-constructor": ["off"], | ||
"react/prop-types": ["off"], | ||
"react/jsx-props-no-spreading": ["off"], | ||
"react/sort-comp": ["off"], | ||
"react/no-did-update-set-state": ["off"], | ||
"react/jsx-sort-props": [ | ||
"warn", | ||
{ | ||
"callbacksLast": true, | ||
"shorthandFirst": true, | ||
"shorthandLast": false, | ||
"ignoreCase": true, | ||
"noSortAlphabetically": false, | ||
"reservedFirst": true | ||
} | ||
], | ||
"no-console": ["warn", { "allow": ["off", "error"] }], | ||
"no-restricted-syntax": "off", | ||
"import/no-cycle": "off", | ||
"no-param-reassign": ["warn", { "props": false }], | ||
"no-plusplus": "off", | ||
"no-return-assign": ["error", "except-parens"], | ||
"class-methods-use-this": "off", | ||
"no-case-declarations": "warn", | ||
"import/prefer-default-export": "off", | ||
"no-continue": "off" | ||
} | ||
} |
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,24 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Reproducible test case** | ||
Include a URL (codepen.io, jsfiddle.net, Git repository, codesandbox.io, stackblitz.com, etc.) that demonstrates the problem. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- Browser [e.g. chrome, safari] | ||
- Version | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "" | ||
labels: "" | ||
assignees: "" | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,9 @@ | ||
## Amsterdam styled components pull request | ||
|
||
Before opening a pull request, please ensure: | ||
|
||
- [ ] You've added or updated the [README.md](../blob/master/README.md) if needed | ||
- [ ] Your code has the necessary tests written | ||
- [ ] You have updated the [CHANGELOG.md unreleased sections](../blob/master/CHANGELOG.md) | ||
|
||
Be kind to code reviewers, please try to keep pull requests as small and focused as possible :) |
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,19 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
open-pull-requests-limit: 5 | ||
directory: "/" | ||
target-branch: "master" | ||
versioning-strategy: increase-if-necessary | ||
schedule: | ||
interval: "weekly" | ||
day: "sunday" | ||
pull-request-branch-name: | ||
separator: "-" | ||
commit-message: | ||
prefix: "chore(dep-bot):" | ||
reviewers: | ||
- "RomainCoudour" |
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,39 @@ | ||
name: CI | ||
on: [] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node: [10.14.x] | ||
react: | ||
[ | ||
16.2.x, | ||
16.3.x, | ||
16.4.x, | ||
16.5.x, | ||
16.6.x, | ||
16.7.x, | ||
16.8.x, | ||
16.9.x, | ||
16.10.x, | ||
16.11.x, | ||
16.12.x, | ||
17.0.x, | ||
] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: npm install, build, and test | ||
run: | | ||
npm install | ||
npm run build | ||
npm install react@${{ matrix.react }} react-dom@${{ matrix.react }} react-test-renderer@${{ matrix.react }} | ||
npm list react react-dom react-test-renderer | ||
npm run lint | ||
npm run test | ||
- name: dist | ||
run: | | ||
npm run dist |
Oops, something went wrong.