-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/main' into feature/dynamic-imports-loaders
- Loading branch information
Showing
189 changed files
with
4,395 additions
and
4,042 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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": ["plugin:jsx-a11y/recommended", "@lidofinance", "prettier"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["@typescript-eslint", "react"], | ||
"rules": { | ||
"@typescript-eslint/require-await": "off", | ||
"react/display-name": "off", | ||
"@typescript-eslint/no-shadow": "off", | ||
"jsx-a11y/no-autofocus": "off", | ||
"jsx-a11y/anchor-is-valid": "off", | ||
"@next/next/no-img-element": "off", | ||
"eslint-plugin-unicorn": "off", | ||
"no-console": ["warn", { "allow": ["warn", "error", "info", "debug"] }], | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ | ||
"ignoreRestSiblings": true, | ||
"argsIgnorePattern": "^_" | ||
} | ||
], | ||
"promise/param-names": [ | ||
"warn", | ||
{ | ||
"resolvePattern": "^_?(resolve)$|^_$", | ||
"rejectPattern": "^_?(reject)$|^_$" | ||
} | ||
], | ||
"func-style": ["error", "expression"], | ||
"@typescript-eslint/no-misused-promises": [ | ||
"error", | ||
{ | ||
"checksVoidReturn": false | ||
} | ||
], | ||
"import/no-cycle": ["error", { "maxDepth": 1 }], | ||
"unicorn/expiring-todo-comments": "off", | ||
"jest/expect-expect": [ | ||
"error", | ||
{ "assertFunctionNames": ["expect", "expect*"] } | ||
], | ||
"jest/no-standalone-expect": [ | ||
"error", | ||
{ | ||
"additionalTestBlockFunctions": [ | ||
"testSpending", | ||
"testSpending.concurrent", | ||
"testSpending.skip", | ||
"testSpending.only", | ||
"testSpending.todo" | ||
] | ||
} | ||
], | ||
"react/react-in-jsx-scope": "off" | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
} | ||
} |
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
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,14 @@ | ||
# Public rpc urls | ||
RPC_PROVIDER_URL_1=https://rpc.ankr.com/eth | ||
RPC_PROVIDER_URL_17000=https://1rpc.io/holesky | ||
|
||
# supported networks for connecting wallet | ||
SUPPORTED_CHAINS=1,17000 | ||
|
||
# this chain uses when a wallet is not connected | ||
DEFAULT_CHAIN=17000 | ||
|
||
# WalletConnect project ID | ||
WALLETCONNECT_PROJECT_ID= | ||
|
||
ANALYZE_BUNDLE=false |
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,17 @@ | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
/public | ||
|
||
*.mjs | ||
*.js |
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,15 @@ | ||
module.exports = { | ||
extends: ['../../.eslintrc.base.json'], | ||
parserOptions: { | ||
project: ['./tsconfig.json'], | ||
tsconfigRootDir: __dirname, | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 12, | ||
}, | ||
rules: { | ||
'import/no-unresolved': 'off', | ||
'react-hooks/exhaustive-deps': 'error', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.