-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c90a2af
commit 1cceaf2
Showing
351 changed files
with
3,658 additions
and
9,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
REACT_APP_API_URL=https://idea.gear-tech.io/api | ||
REACT_APP_NODE_ADDRESS=wss://testnet.vara.rs | ||
REACT_APP_HCAPTCHA_SITE_KEY=xxxx-xxxx-xxxx-xxxx-xxxx | ||
REACT_APP_DEFAULT_TRANSFER_BALANCE_VALUE=250000000000 | ||
REACT_APP_DEFAULT_NODES_URL=https://idea.gear-tech.io/gear-nodes | ||
VITE_API_URL=https://idea.gear-tech.io/api | ||
VITE_NODE_ADDRESS=wss://testnet.vara-network.io | ||
VITE_HCAPTCHA_SITE_KEY=xxxx-xxxx-xxxx-xxxx-xxxx | ||
VITE_DEFAULT_TRANSFER_BALANCE_VALUE=250000000000 | ||
VITE_DEFAULT_NODES_URL=https://idea.gear-tech.io/gear-nodes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"env": { "browser": true, "es2020": true }, | ||
|
||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"airbnb", | ||
"airbnb/hooks", | ||
"airbnb-typescript", | ||
|
||
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md#when-not-to-use-it | ||
// https://github.com/yannickcr/eslint-plugin-react/issues/3052#issuecomment-1017555974 | ||
"plugin:react-hooks/recommended", | ||
"plugin:react/jsx-runtime", | ||
|
||
"plugin:import/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
|
||
"settings": { | ||
"ecmaVersion": "latest", | ||
"react": { | ||
"version": "detect" | ||
}, | ||
"import/resolver": { | ||
"typescript": true | ||
} | ||
}, | ||
"plugins": ["react", "@typescript-eslint"], | ||
"ignorePatterns": ["src/global.d.ts", "config-overrides.js"], | ||
"rules": { | ||
"react/require-default-props": "off", // we don"t use prop-types | ||
|
||
"react/function-component-definition": [ | ||
2, | ||
{ | ||
"namedComponents": "arrow-function", | ||
"unnamedComponents": "arrow-function" | ||
} | ||
], | ||
|
||
"import/prefer-default-export": "off", // force named exports | ||
"import/no-default-export": "error", | ||
"plugins": ["react", "react-hooks", "import", "jsx-a11y", "react-refresh"], | ||
|
||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
|
||
"@typescript-eslint/no-unused-vars": "warn", // "error" is not convinient in development | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { "project": ["./tsconfig.json"] }, | ||
|
||
"prefer-destructuring": "off", | ||
"consistent-return": "off", // we want functions to have different return behavior | ||
"extends": [ | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:import/typescript" | ||
], | ||
|
||
"react/jsx-props-no-spreading": [ | ||
"error", | ||
{ "exceptions": ["Input", "FileInput", "Textarea", "Select", "NumberFormat", "Radio", "Checkbox"] } | ||
] // disable for form elements, cuz @mantine/form input props needs to be desctructured | ||
} | ||
"plugins": ["@typescript-eslint/eslint-plugin"], | ||
|
||
"rules": { | ||
"@typescript-eslint/no-unsafe-enum-comparison": "off", | ||
"@typescript-eslint/no-floating-promises": "off" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.env | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/png" href="/favicon.png" /> | ||
<title>Gear | The Most Advanced Platform for dApp development</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.tsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.