Skip to content

Commit d7eddcb

Browse files
Merge pull request #7096 from bithyve/staging
RGB
2 parents 860bb8d + f099cd0 commit d7eddcb

File tree

435 files changed

+33648
-18612
lines changed

Some content is hidden

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

435 files changed

+33648
-18612
lines changed

.buckconfig

-6
This file was deleted.

.bundle/config

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUNDLE_PATH: "vendor/bundle"
2+
BUNDLE_FORCE_RUBY_PLATFORM: 1

.eslintrc.js

-60
This file was deleted.

.eslintrc.json

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"browser": true,
5+
"es2021": true,
6+
"react-native/react-native": true,
7+
"node": true
8+
},
9+
"extends": ["plugin:react/recommended", "airbnb/hooks", "airbnb", "prettier", "@react-native"],
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"ecmaFeatures": {
13+
"jsx": true
14+
},
15+
"ecmaVersion": "latest",
16+
"sourceType": "module"
17+
},
18+
"plugins": ["react", "@typescript-eslint", "react-native"],
19+
"rules": {
20+
// allow .js files to contain JSX code
21+
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx", ".js", ".jsx"] }],
22+
// prevent eslint to complain about the "styles" variable being used before it was defined
23+
"no-use-before-define": "off",
24+
// ignore errors for the react-navigation package
25+
"react/prop-types": ["error", { "ignore": ["navigation", "navigation.navigate"] }],
26+
// ignore errors for import directives
27+
"react-hooks/exhaustive-deps": "off",
28+
"import/no-unresolved": "off",
29+
"import/extensions": "off",
30+
"import/no-extraneous-dependencies": "off",
31+
"global-require": "off",
32+
"no-param-reassign": "off",
33+
"no-shadow": "off",
34+
"react/jsx-props-no-spreading": "off",
35+
"import/prefer-default-export": "off",
36+
"no-restricted-syntax": "off",
37+
"no-nested-ternary": "off"
38+
},
39+
"settings": {
40+
"import/parsers": {
41+
"@typescript-eslint/parser": [".ts", ".tsx"]
42+
}
43+
},
44+
"ignorePatterns": [
45+
"test-setup.js",
46+
"tests/**/*",
47+
"src/hardware/ledger/client/",
48+
"src/core/services/qr/bc-ur-registry/"
49+
]
50+
}

.flowconfig

-99
This file was deleted.

.gitattributes

-1
This file was deleted.

.gitignore

+15-13
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ DerivedData
2222
*.xcuserstate
2323
project.xcworkspace
2424
ios/HEXA.xcodeproj/project.pbxproj
25-
25+
ios/rgb/rgb_libFFI.xcframework
26+
ios/rgb/bdkFFI.xcframework
27+
.xcode.env.local
2628

2729
# Android/IntelliJ
2830
#
@@ -31,36 +33,37 @@ build/
3133
.gradle
3234
local.properties
3335
*.iml
34-
android/*.hprof
36+
*.hprof
37+
.cxx/
38+
*.keystore
39+
!debug.keystore
3540

3641
# node.js
3742
#
3843
node_modules/
3944
npm-debug.log
4045
yarn-error.log
4146

42-
# BUCK
43-
buck-out/
44-
\.buckd/
45-
*.keystore
46-
4747
# fastlane
4848
#
4949
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
5050
# screenshots whenever they are needed.
5151
# For more information about the recommended setup visit:
5252
# https://docs.fastlane.tools/best-practices/source-control/
5353

54-
*/fastlane/report.xml
55-
*/fastlane/Preview.html
56-
*/fastlane/screenshots
54+
**/fastlane/report.xml
55+
**/fastlane/Preview.html
56+
**/fastlane/screenshots
57+
**/fastlane/test_output
5758

5859
# Bundle artifact
5960
*.jsbundle
6061

61-
# CocoaPods
62+
# Ruby / CocoaPods
6263
/ios/Pods/
63-
/ios/Carthage
64+
/vendor/bundle/
65+
# Temporary files created by Metro to check the health of the file watcher
66+
.metro-health-check*
6467

6568
# environment variables
6669
#
@@ -72,4 +75,3 @@ ios/Podfile.lock
7275
# VSCode
7376
.vscode/.react
7477
.vscode/settings.json
75-
android/app/src/main/java/io/hexawallet/hexa/generated/BasePackageList.java

.huskyrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "yarn lint"
4+
}
5+
}

.lintstagedrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
'src/**/*.js': ['yarn lint'],
3+
'src/**/*.ts': ['yarn lint'],
4+
'src/**/*.tsx': ['yarn lint'],
5+
'src/**/*.jsx': ['yarn lint'],
6+
};

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

.prettierrc.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"jsxBracketSameLine": false,
5+
"jsxSingleQuote": false,
6+
"quoteProps": "as-needed",
7+
"singleQuote": true,
8+
"semi": true,
9+
"printWidth": 100,
10+
"useTabs": false,
11+
"tabWidth": 2,
12+
"trailingComma": "es5"
13+
}

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.6

.vscode/settings.json

+5-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
{
22
"editor.codeActionsOnSave": {
3-
"source.fixAll.eslint": true
3+
"source.fixAll.eslint": true,
4+
"source.organizeImports": true
45
},
5-
"eslint.validate": [
6-
"javascript",
7-
"typescript",
8-
"typescriptreact",
9-
"jsx"
10-
],
11-
"java.configuration.updateBuildConfiguration": "automatic",
12-
"cSpell.words": [
13-
"Hexa",
14-
"mergeable",
15-
"uuidv"
16-
],
17-
"typescript.tsdk": "${workspaceFolder}/node_modules/typescript/lib"
6+
"editor.defaultFormatter": "esbenp.prettier-vscode",
7+
// "editor.formatOnSave": true,
8+
"eslint.validate": ["javascript", "typescript", "typescriptreact", "jsx"]
189
}

0 commit comments

Comments
 (0)