Skip to content

Commit c59aa16

Browse files
author
MiriShalev
committed
hamagen-react-native; launch; github
0 parents  commit c59aa16

File tree

186 files changed

+18766
-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.

186 files changed

+18766
-0
lines changed

.buckconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
[android]
3+
target = Google Inc.:Google APIs:23
4+
5+
[maven_repositories]
6+
central = https://repo1.maven.org/maven2

.eslintrc

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"extends": "airbnb",
3+
"parser": "babel-eslint",
4+
"rules": {
5+
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
6+
"comma-dangle": 0,
7+
"prefer-default-export": 0,
8+
"import/prefer-default-export": 0,
9+
"react/prop-types": 0,
10+
"no-use-before-define": 0,
11+
"arrow-body-style": 0,
12+
"global-require": 0,
13+
"no-trailing-spaces": 0,
14+
"no-unused-expressions": 0,
15+
"max-len": 0,
16+
"class-methods-use-this": 0,
17+
"no-underscore-dangle": 0,
18+
"no-extraneous-dependencies": 0,
19+
"no-shadow": 0,
20+
"react/no-array-index-key": 0,
21+
"react/forbid-prop-types": 0,
22+
"no-useless-escape": 0,
23+
"no-confusing-arrow": 0,
24+
"import/no-named-as-default": 0,
25+
"import/no-named-as-default-member": 0,
26+
"no-plusplus": 0,
27+
"no-nested-ternary": 0,
28+
"array-callback-return": 0,
29+
"no-param-reassign": 0,
30+
"consistent-return": 0,
31+
"eqeqeq": 0,
32+
"newline-per-chained-call": 0,
33+
"object-curly-newline": 0,
34+
"camelcase": 0,
35+
"react/sort-comp": 0,
36+
"react/no-did-update-set-state": 0,
37+
"react-hooks/rules-of-hooks": "error",
38+
"import/no-mutable-exports": "warn",
39+
"no-useless-rename": "warn",
40+
"no-bitwise": 0,
41+
"prefer-promise-reject-errors": "warn",
42+
"no-restricted-globals": "warn"
43+
},
44+
"settings": {
45+
"import/resolver": {
46+
"node": {
47+
"extensions": [".js", ".jsx",".android.js", ".ios.js", ".ts", ".tsx", ".png", ".gif", ".json", ".native.js", ".d.ts"]
48+
}
49+
}
50+
},
51+
"plugins": [
52+
"react-hooks"
53+
]
54+
}

.flowconfig

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
[ignore]
2+
; We fork some components by platform
3+
.*/*[.]android.js
4+
5+
; Ignore "BUCK" generated dirs
6+
<PROJECT_ROOT>/\.buckd/
7+
8+
; Ignore polyfills
9+
node_modules/react-native/Libraries/polyfills/.*
10+
11+
; These should not be required directly
12+
; require from fbjs/lib instead: require('fbjs/lib/warning')
13+
node_modules/warning/.*
14+
15+
; Flow doesn't support platforms
16+
.*/Libraries/Utilities/LoadingView.js
17+
18+
[untyped]
19+
.*/node_modules/@react-native-community/cli/.*/.*
20+
21+
[include]
22+
23+
[libs]
24+
node_modules/react-native/Libraries/react-native/react-native-interface.js
25+
node_modules/react-native/flow/
26+
27+
[options]
28+
emoji=true
29+
30+
esproposal.optional_chaining=enable
31+
esproposal.nullish_coalescing=enable
32+
33+
module.file_ext=.js
34+
module.file_ext=.json
35+
module.file_ext=.ios.js
36+
37+
munge_underscores=true
38+
39+
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
40+
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
41+
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
42+
43+
suppress_type=$FlowIssue
44+
suppress_type=$FlowFixMe
45+
suppress_type=$FlowFixMeProps
46+
suppress_type=$FlowFixMeState
47+
48+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
49+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
50+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
51+
52+
[lints]
53+
sketchy-null-number=warn
54+
sketchy-null-mixed=warn
55+
sketchy-number=warn
56+
untyped-type-import=warn
57+
nonstrict-import=warn
58+
deprecated-type=warn
59+
unsafe-getters-setters=warn
60+
inexact-spread=warn
61+
unnecessary-invariant=warn
62+
signature-verification-failure=warn
63+
deprecated-utility=error
64+
65+
[strict]
66+
deprecated-type
67+
nonstrict-import
68+
sketchy-null
69+
unclear-type
70+
unsafe-getters-setters
71+
untyped-import
72+
untyped-type-import
73+
74+
[version]
75+
^0.105.0

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pbxproj -text

.gitignore

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
coverage/
6+
7+
# Xcode
8+
#
9+
build/
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata
19+
*.xccheckout
20+
*.moved-aside
21+
DerivedData
22+
*.hmap
23+
*.ipa
24+
*.xcuserstate
25+
26+
# Android/IntelliJ
27+
#
28+
build/
29+
.idea
30+
.gradle
31+
local.properties
32+
*.iml
33+
34+
# node.js
35+
#
36+
node_modules/
37+
npm-debug.log
38+
yarn-error.log
39+
40+
# BUCK
41+
buck-out/
42+
\.buckd/
43+
*.keystore
44+
!debug.keystore
45+
46+
# fastlane
47+
#
48+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
49+
# screenshots whenever they are needed.
50+
# For more information about the recommended setup visit:
51+
# https://docs.fastlane.tools/best-practices/source-control/
52+
53+
*/fastlane/report.xml
54+
*/fastlane/Preview.html
55+
*/fastlane/screenshots
56+
57+
# Bundle artifact
58+
*.jsbundle
59+
60+
# CocoaPods
61+
/ios/Pods/
62+
63+
*.hprof

.prettierrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
bracketSpacing: false,
3+
jsxBracketSameLine: true,
4+
singleQuote: true,
5+
trailingComma: 'all',
6+
};

.watchmanconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

CONTRIBUTING.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Contributing
2+
3+
Thanks for considering contributing to Default!
4+
5+
## Opening issues
6+
7+
If you find a bug, please feel free to [open an issue](https://github.com/kennethormandy/default/issues).
8+
9+
If you taking the time to mention a problem, even a seemingly minor one, it is greatly appreciated, and a totally valid contribution to this project. Thank you!
10+
11+
12+
## Adding new features
13+
14+
Thinking of adding a new feature? Cool! [Open an issue](https://github.com/kennethormandy/default/issues) and let’s design it together.
15+
16+
## Fixing bugs
17+
18+
We love pull requests. Here’s a quick guide:
19+
20+
1. [Fork this repository](https://github.com/MohGovIL/CodeAgainstCorona) and then clone it locally:
21+
22+
```bash
23+
git clone https://github.com/MohGovIL/CodeAgainstCorona
24+
```
25+
26+
2. Create a topic branch for your changes:
27+
28+
```bash
29+
git checkout -b fix-for-that-thing
30+
```
31+
3. Commit a failing test for the bug:
32+
33+
```bash
34+
git commit -am "Adds a failing test to demonstrate that thing"
35+
```
36+
37+
4. Commit a fix that makes the test pass:
38+
39+
```bash
40+
git commit -am "Adds a fix for that thing!"
41+
```
42+
43+
5. Run the tests:
44+
45+
```bash
46+
npm test
47+
```
48+
49+
6. If everything looks good, push to your fork:
50+
51+
```bash
52+
git push origin fix-for-that-thing
53+
```
54+
55+
7. Submit a pull request.

0 commit comments

Comments
 (0)