Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 35efedf

Browse files
committed
Initial commit
0 parents  commit 35efedf

File tree

177 files changed

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

177 files changed

+23896
-0
lines changed

.babelrc

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"presets": ["module:metro-react-native-babel-preset"],
3+
"plugins": [
4+
[
5+
"module-resolver",
6+
{
7+
"root": ["./src"],
8+
"alias": [
9+
{ "@shared-components": "./src/shared/components" },
10+
{ "@shared-constants": "./src/shared/constants" },
11+
{ "@font-size": "./src/shared/theme/font-size" },
12+
{ "@api": "./src/services/api/index" },
13+
{ "@fonts": "./src/shared/theme/fonts" },
14+
{ "@colors": "./src/shared/theme/colors" },
15+
{ "@theme": "./src/shared/theme" },
16+
{ "@models": "./src/services/models" },
17+
{ "@services": "./src/services" },
18+
{ "@screens": "./src/screens" },
19+
{ "@utils": "./src/utils/" },
20+
{ "@assets": "./src/assets/" },
21+
{ "@event-emitter": "./src/services/event-emitter" },
22+
{ "@local-storage": "./src/services/local-storage" }
23+
],
24+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
25+
}
26+
],
27+
"react-native-reanimated/plugin"
28+
]
29+
}

.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

.bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUNDLE_PATH: "vendor/bundle"
2+
BUNDLE_FORCE_RUBY_PLATFORM: 1

.commitlintrc.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"header-max-length": [0, "always", 150],
5+
"subject-case": [0, "always", "sentence-case"],
6+
"type-enum": [
7+
2,
8+
"always",
9+
[
10+
"ci",
11+
"chore",
12+
"docs",
13+
"feat",
14+
"fix",
15+
"perf",
16+
"refactor",
17+
"revert",
18+
"style",
19+
"test"
20+
]
21+
]
22+
}
23+
}

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/**

.eslintrc.js

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
module.exports = {
2+
root: true,
3+
extends: [
4+
"eslint:recommended",
5+
"plugin:react/recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"@react-native-community",
8+
"prettier",
9+
],
10+
ignorePatterns: [
11+
"**/*/*.js",
12+
"*.js",
13+
"*.svg",
14+
"*.json",
15+
"*.png",
16+
"package.json",
17+
"package-lock.json",
18+
],
19+
parser: "@typescript-eslint/parser",
20+
plugins: [
21+
"import",
22+
"react",
23+
"react-native",
24+
"prettier",
25+
"react-hooks",
26+
"@typescript-eslint",
27+
"promise",
28+
"unused-imports",
29+
],
30+
env: {
31+
browser: true,
32+
es2021: true,
33+
"react-native/react-native": true,
34+
},
35+
settings: {
36+
"import/resolver": {
37+
node: {
38+
extensions: [
39+
".js",
40+
".jsx",
41+
".ts",
42+
".tsx",
43+
".d.ts",
44+
".android.js",
45+
".android.jsx",
46+
".android.ts",
47+
".android.tsx",
48+
".ios.js",
49+
".ios.jsx",
50+
".ios.ts",
51+
".ios.tsx",
52+
".web.js",
53+
".web.jsx",
54+
".web.ts",
55+
".web.tsx",
56+
],
57+
},
58+
},
59+
},
60+
rules: {
61+
quotes: [
62+
"error",
63+
"double",
64+
{
65+
avoidEscape: true,
66+
},
67+
],
68+
"import/extensions": [
69+
"error",
70+
"never",
71+
{
72+
svg: "always",
73+
model: "always",
74+
style: "always",
75+
png: "always",
76+
jpg: "always",
77+
json: "always",
78+
constant: "always",
79+
},
80+
],
81+
"react-hooks/exhaustive-deps": [
82+
"error",
83+
{ additionalHooks: "(useMemoOne)" },
84+
],
85+
"max-len": ["error", 120],
86+
"@typescript-eslint/ban-ts-comment": 2,
87+
"@typescript-eslint/no-empty-function": 0,
88+
"@typescript-eslint/no-explicit-any": 1,
89+
"@typescript-eslint/explicit-module-boundary-types": 0,
90+
"react/jsx-filename-extension": ["error", { extensions: [".tsx"] }],
91+
"react-native/no-unused-styles": 2,
92+
"react-native/split-platform-components": 2,
93+
"react-native/no-inline-styles": 0,
94+
"react-native/no-color-literals": 0,
95+
"react-native/no-raw-text": 0,
96+
"import/no-extraneous-dependencies": 2,
97+
"import/no-named-as-default-member": 2,
98+
"import/order": 0,
99+
"import/no-duplicates": 2,
100+
"import/no-useless-path-segments": 2,
101+
"import/no-cycle": 2,
102+
"import/prefer-default-export": 0,
103+
"import/no-anonymous-default-export": 0,
104+
"import/named": 0,
105+
"@typescript-eslint/no-empty-interface": 0,
106+
"import/namespace": 0,
107+
"import/default": 0,
108+
"import/no-named-as-default": 0,
109+
"import/no-unused-modules": 0,
110+
"import/no-deprecated": 0,
111+
"@typescript-eslint/indent": 0,
112+
"react-hooks/rules-of-hooks": 2,
113+
114+
"jest/no-identical-title": 2,
115+
"jest/valid-expect": 2,
116+
camelcase: 2,
117+
"prefer-destructuring": 2,
118+
"no-nested-ternary": 2,
119+
"prettier/prettier": [
120+
"error",
121+
{
122+
endOfLine: "auto",
123+
},
124+
],
125+
},
126+
};

.gitattributes

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

.github/pull_request_template.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Summary
2+
3+
Jira Tickets:
4+
5+
- [HELLO-310](your-jira-ticket-link)
6+
7+
## Type of change
8+
9+
- [ ] Bug fix (non-breaking change which fixes an issue)
10+
- [ ] New feature (non-breaking change which adds functionality)
11+
- [ ] Code Refactoring (non-breaking change which cleaning the code and/or architecture)
12+
- [ ] Improvement
13+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+
- [ ] This change requires a documentation update
15+
16+
## Affected Components
17+
18+
- [ ] Core Module
19+
- [ ] Shared Components
20+
- [ ] Internal DB
21+
- [ ] Redux
22+
- [ ] API Services
23+
- [ ] UI / UX
24+
- [ ] Assets
25+
26+
## Description
27+
28+
- Description will be here
29+
30+
## Reviewer
31+
32+
_Below checklist should be completed by the reviewer if there is code change in the PR_
33+
34+
- [ ] The code is easy to understand.
35+
- [ ] The code well commented/documented with clear descriptions when necessary.
36+
- [ ] There is no redundant or duplicate code.
37+
- [ ] There is no incomplete code. If there is, it is flagged with a suitable marker like ‘TODO’.
38+
- [ ] The code cannot be simplified further.
39+
- [ ] Data flow is understandable.
40+
- [ ] No hard coded variables.
41+
- [ ] Separation of concerns principle is followed.
42+
- [ ] Reviewer is cloned this branch and tested on his/her local environment.
43+
44+
## Demo
45+
46+
<i> Your Screenshots will be here and <b>DELETE ME!</b> </i>

.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+
# 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+
24+
# Android/IntelliJ
25+
#
26+
build/
27+
.idea
28+
.gradle
29+
local.properties
30+
*.iml
31+
32+
# Visual Studio Code
33+
#
34+
.vscode/
35+
36+
# node.js
37+
#
38+
node_modules/
39+
npm-debug.log
40+
yarn-error.log
41+
42+
# BUCK
43+
buck-out/
44+
\.buckd/
45+
*.keystore
46+
!debug.keystore
47+
48+
# fastlane
49+
#
50+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
51+
# screenshots whenever they are needed.
52+
# For more information about the recommended setup visit:
53+
# https://docs.fastlane.tools/best-practices/source-control/
54+
55+
*/fastlane/report.xml
56+
*/fastlane/Preview.html
57+
*/fastlane/screenshots
58+
59+
# Bundle artifact
60+
*.jsbundle
61+
62+
# CocoaPods
63+
/ios/Pods/

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Node Modules
2+
**/node_modules
3+
node_modules
4+
# Generated Files
5+
ios
6+
android
7+
# Assets
8+
Assets
9+
assets

0 commit comments

Comments
 (0)