Skip to content

Commit

Permalink
hamagen-react-native; launch; github
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriShalev committed Mar 22, 2020
0 parents commit c59aa16
Show file tree
Hide file tree
Showing 186 changed files with 18,766 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .buckconfig
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
54 changes: 54 additions & 0 deletions .eslintrc
@@ -0,0 +1,54 @@
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"comma-dangle": 0,
"prefer-default-export": 0,
"import/prefer-default-export": 0,
"react/prop-types": 0,
"no-use-before-define": 0,
"arrow-body-style": 0,
"global-require": 0,
"no-trailing-spaces": 0,
"no-unused-expressions": 0,
"max-len": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"no-extraneous-dependencies": 0,
"no-shadow": 0,
"react/no-array-index-key": 0,
"react/forbid-prop-types": 0,
"no-useless-escape": 0,
"no-confusing-arrow": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"no-plusplus": 0,
"no-nested-ternary": 0,
"array-callback-return": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"eqeqeq": 0,
"newline-per-chained-call": 0,
"object-curly-newline": 0,
"camelcase": 0,
"react/sort-comp": 0,
"react/no-did-update-set-state": 0,
"react-hooks/rules-of-hooks": "error",
"import/no-mutable-exports": "warn",
"no-useless-rename": "warn",
"no-bitwise": 0,
"prefer-promise-reject-errors": "warn",
"no-restricted-globals": "warn"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx",".android.js", ".ios.js", ".ts", ".tsx", ".png", ".gif", ".json", ".native.js", ".d.ts"]
}
}
},
"plugins": [
"react-hooks"
]
}
75 changes: 75 additions & 0 deletions .flowconfig
@@ -0,0 +1,75 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*

; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*

; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/

[options]
emoji=true

esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable

module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
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'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
inexact-spread=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error

[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.105.0
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
*.pbxproj -text
63 changes: 63 additions & 0 deletions .gitignore
@@ -0,0 +1,63 @@
# OSX
#
.DS_Store

coverage/

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore
!debug.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle

# CocoaPods
/ios/Pods/

*.hprof
6 changes: 6 additions & 0 deletions .prettierrc.js
@@ -0,0 +1,6 @@
module.exports = {
bracketSpacing: false,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
};
1 change: 1 addition & 0 deletions .watchmanconfig
@@ -0,0 +1 @@
{}
55 changes: 55 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,55 @@
# Contributing

Thanks for considering contributing to Default!

## Opening issues

If you find a bug, please feel free to [open an issue](https://github.com/kennethormandy/default/issues).

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!


## Adding new features

Thinking of adding a new feature? Cool! [Open an issue](https://github.com/kennethormandy/default/issues) and let’s design it together.

## Fixing bugs

We love pull requests. Here’s a quick guide:

1. [Fork this repository](https://github.com/MohGovIL/CodeAgainstCorona) and then clone it locally:

```bash
git clone https://github.com/MohGovIL/CodeAgainstCorona
```

2. Create a topic branch for your changes:

```bash
git checkout -b fix-for-that-thing
```
3. Commit a failing test for the bug:

```bash
git commit -am "Adds a failing test to demonstrate that thing"
```

4. Commit a fix that makes the test pass:

```bash
git commit -am "Adds a fix for that thing!"
```

5. Run the tests:

```bash
npm test
```

6. If everything looks good, push to your fork:

```bash
git push origin fix-for-that-thing
```

7. Submit a pull request.

0 comments on commit c59aa16

Please sign in to comment.