Skip to content

Commit d3ed5c8

Browse files
committed
feat: version 4.2.0 with all dependency and code upgrades
0 parents  commit d3ed5c8

File tree

2,592 files changed

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

2,592 files changed

+473372
-0
lines changed

.babelrc

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
{ "@zustand": "./src/services/zustand/store" }
24+
],
25+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
26+
}
27+
],
28+
"react-native-reanimated/plugin"
29+
]
30+
}

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

.gitattributes

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

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [wrathchaos]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.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: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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+
ios/.xcode.env.local
24+
25+
# Android/IntelliJ
26+
#
27+
build/
28+
.idea
29+
.gradle
30+
local.properties
31+
*.iml
32+
*.hprof
33+
.cxx/
34+
*.keystore
35+
!debug.keystore
36+
37+
# Visual Studio Code
38+
#
39+
.vscode/
40+
41+
# node.js
42+
#
43+
node_modules/
44+
npm-debug.log
45+
yarn-error.log
46+
47+
# fastlane
48+
#
49+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
50+
# screenshots whenever they are needed.
51+
# For more information about the recommended setup visit:
52+
# https://docs.fastlane.tools/best-practices/source-control/
53+
54+
**/fastlane/report.xml
55+
**/fastlane/Preview.html
56+
**/fastlane/screenshots
57+
**/fastlane/test_output
58+
59+
# Bundle artifact
60+
*.jsbundle
61+
62+
# CocoaPods
63+
/ios/Pods/
64+
65+
66+
# Temporary files created by Metro to check the health of the file watcher
67+
.metro-health-check*

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run prettier
5+
npm run lint

0 commit comments

Comments
 (0)