Skip to content
This repository was archived by the owner on Apr 2, 2021. It is now read-only.

Commit 00574c7

Browse files
author
Daniel Lugo
committed
initial commit
1 parent 8da9b1e commit 00574c7

154 files changed

Lines changed: 24552 additions & 2 deletions

File tree

Some content is hidden

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

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["module:metro-react-native-babel-preset"]
3+
}

.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.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"plugins": ["prettier", "babel", "react", "react-native"],
3+
"extends": [
4+
"eslint:all",
5+
"plugin:react/all",
6+
"plugin:react-native/all",
7+
"prettier"
8+
],
9+
"parser": "babel-eslint",
10+
"parserOptions": {
11+
"ecmaFeatures": {
12+
"jsx": true
13+
}
14+
},
15+
"env": {
16+
"react-native/react-native": true,
17+
"node": true,
18+
"es6": true
19+
},
20+
"rules": {
21+
"prettier/prettier": "error",
22+
"strict": "off",
23+
"id-length": "off",
24+
"no-console": "off",
25+
"max-statements": "off",
26+
"global-require": "off",
27+
"one-var": "off",
28+
"max-lines-per-function": "off",
29+
"no-underscore-dangle": "off",
30+
"no-implicit-coercion": "off",
31+
"no-magic-numbers": "off",
32+
"no-negated-condition": "off",
33+
"capitalized-comments": "off",
34+
"max-params": "off",
35+
"multiline-comment-style": "off",
36+
"spaced-comment": "off",
37+
"no-inline-comments": "off",
38+
"sort-keys": "off",
39+
"sort-imports": "off",
40+
"max-lines": "off",
41+
"prefer-template": "off",
42+
"callback-return": "off",
43+
"no-ternary": "off",
44+
"no-invalid-this": "off",
45+
"babel/no-invalid-this": "error",
46+
"complexity": "off",
47+
"yoda": "off",
48+
"prefer-promise-reject-errors": "off",
49+
"camelcase": "off",
50+
"consistent-return": "off",
51+
"no-shadow": "off",
52+
"react/no-set-state": "off",
53+
"react/prop-types": "off",
54+
"react/jsx-indent": "off",
55+
"react/jsx-no-literals": "off",
56+
"react/jsx-max-props-per-line": "off",
57+
"react/jsx-sort-props": "off",
58+
"react/jsx-one-expression-per-line": "off",
59+
"react/jsx-max-depth": "off",
60+
"react/jsx-handler-names": "off",
61+
"react/jsx-indent-props": "off",
62+
"react/jsx-pascal-case": "off",
63+
"react/jsx-filename-extension": "off",
64+
"react/forbid-component-props": "off",
65+
"react/destructuring-assignment": "off",
66+
"react/state-in-constructor": "off",
67+
"react/require-optimization": "off",
68+
"react-native/sort-styles": "off",
69+
"react-native/split-platform-components": "off",
70+
"react/jsx-fragments": "off",
71+
"no-use-before-define": "off",
72+
"new-cap": "off",
73+
"babel/new-cap": 1,
74+
"babel/camelcase": 1,
75+
"object-curly-spacing": "off",
76+
"babel/object-curly-spacing": "off",
77+
"quotes": "off",
78+
"babel/quotes": "off",
79+
"semi": "off",
80+
"babel/semi": "off",
81+
"no-unused-expressions": "off",
82+
"babel/no-unused-expressions": 1,
83+
"valid-typeof": "off",
84+
"babel/valid-typeof": 1
85+
},
86+
"settings": {
87+
"react": {
88+
"version": "^16.6.3"
89+
}
90+
}
91+
}

.flowconfig

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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 unexpected extra "@providesModule"
9+
.*/node_modules/.*/node_modules/fbjs/.*
10+
11+
; Ignore duplicate module providers
12+
; For RN Apps installed via npm, "Libraries" folder is inside
13+
; "node_modules/react-native" but in the source repo it is in the root
14+
.*/Libraries/react-native/React.js
15+
16+
; Ignore polyfills
17+
.*/Libraries/polyfills/.*
18+
19+
; Ignore metro
20+
.*/node_modules/metro/.*
21+
22+
[include]
23+
24+
[libs]
25+
node_modules/react-native/Libraries/react-native/react-native-interface.js
26+
node_modules/react-native/flow/
27+
node_modules/react-native/flow-github/
28+
29+
[options]
30+
emoji=true
31+
32+
esproposal.optional_chaining=enable
33+
esproposal.nullish_coalescing=enable
34+
35+
module.system=haste
36+
module.system.haste.use_name_reducers=true
37+
# get basename
38+
module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1'
39+
# strip .js or .js.flow suffix
40+
module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1'
41+
# strip .ios suffix
42+
module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1'
43+
module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1'
44+
module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1'
45+
module.system.haste.paths.blacklist=.*/__tests__/.*
46+
module.system.haste.paths.blacklist=.*/__mocks__/.*
47+
module.system.haste.paths.blacklist=<PROJECT_ROOT>/node_modules/react-native/Libraries/Animated/src/polyfills/.*
48+
module.system.haste.paths.whitelist=<PROJECT_ROOT>/node_modules/react-native/Libraries/.*
49+
50+
munge_underscores=true
51+
52+
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\)$' -> 'RelativeImageStub'
53+
54+
module.file_ext=.js
55+
module.file_ext=.jsx
56+
module.file_ext=.json
57+
module.file_ext=.native.js
58+
59+
suppress_type=$FlowIssue
60+
suppress_type=$FlowFixMe
61+
suppress_type=$FlowFixMeProps
62+
suppress_type=$FlowFixMeState
63+
64+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
65+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
66+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
67+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
68+
69+
[version]
70+
^0.78.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: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
project.xcworkspace
24+
25+
# Android/IntelliJ
26+
#
27+
build/
28+
.idea
29+
.gradle
30+
local.properties
31+
*.iml
32+
33+
# node.js
34+
#
35+
node_modules/
36+
npm-debug.log
37+
yarn-error.log
38+
39+
# BUCK
40+
buck-out/
41+
\.buckd/
42+
*.keystore
43+
44+
# fastlane
45+
#
46+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47+
# screenshots whenever they are needed.
48+
# For more information about the recommended setup visit:
49+
# https://docs.fastlane.tools/best-practices/source-control/
50+
51+
*/fastlane/report.xml
52+
*/fastlane/Preview.html
53+
*/fastlane/screenshots
54+
55+
# Bundle artifact
56+
*.jsbundle
57+
58+
APK-DEBUG.apk
59+
APK-RELEASE.apk
60+

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"trailingComma": "all"
5+
}

.vscode/launch.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"program": "${workspaceFolder}\\react-native run-android"
12+
}
13+
]
14+
}

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "interactive",
3+
"typescript.format.enable": false,
4+
"eslint.enable": true,
5+
"prettier.requireConfig": true,
6+
"editor.defaultFormatter": "esbenp.prettier-vscode",
7+
"eslint.packageManager": "yarn"
8+
}

.watchmanconfig

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

0 commit comments

Comments
 (0)