Skip to content

Commit

Permalink
Merge branch 'master' into fix-alt-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
vipineth committed Feb 22, 2024
2 parents 5ea3117 + eca9543 commit 985993c
Show file tree
Hide file tree
Showing 215 changed files with 11,885 additions and 5,742 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
GENERATE_SOURCEMAP=false
GENERATE_SOURCEMAP=false
REACT_APP_UI_FEE_RECEIVER=0xff00000000000000000000000000000000000001
50 changes: 38 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,47 @@
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended", "plugin:react/recommended", "plugin:react-perf/recommended"],
"rules": {
"curly": "off",
"no-undef": "error",
"no-console": "warn",
"no-var": "error",
"no-case-declarations": "error",
"@typescript-eslint/no-empty-function": "error",
"no-extra-boolean-cast": "error",
"no-prototype-builtins": "error",
"no-empty": "error",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"react/no-unused-prop-types": "error",
"react-hooks/rules-of-hooks": "warn",
"react/hook-use-state": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"react/jsx-fragments": "warn",
"react-perf/jsx-no-new-array-as-prop": "warn",
"react-perf/jsx-no-new-object-as-prop": "warn",
"react-perf/jsx-no-new-function-as-prop": "off",

/* might be useful */
"@typescript-eslint/no-non-null-assertion": "off",
"curly": "off",
"@typescript-eslint/no-explicit-any": "off",
"prefer-const": "off",
"no-console": "warn",
"no-irregular-whitespace": "off",
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unused-vars": "warn",
"no-var": "error",
"no-async-promise-executor": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-empty-function": "error",
"no-case-declarations": "error",
"@typescript-eslint/no-empty-interface": "off",
"no-extra-boolean-cast": "error",
"no-prototype-builtins": "error",
"no-empty": "error"
"react/react-in-jsx-scope": "off",
"react/no-unescaped-entities": "off",
"react/prop-types": "off",
"react/jsx-no-bind": "off",
"react/jsx-no-leaked-render": "off",
"react/no-multi-comp": "off",
"react/no-array-index-key": "off",
"react/no-unstable-nested-components": "off",
"react/jsx-no-useless-fragment": "off",
"react/require-default-props": "off",
"react/jsx-handler-names": "off",
"react/display-name": "off"
},
"env": {
"browser": true,
Expand All @@ -30,5 +51,10 @@
"globals": {
"process": true,
"TradingView": true
},
"settings": {
"react": {
"version": "detect"
}
}
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@lingui/core": "3.13.3",
"@lingui/react": "3.13.3",
"@rainbow-me/rainbowkit": "0.12.18",
"@taskworld.com/rereselect": "0.3.0",
"@testing-library/jest-dom": "5.16.1",
"@testing-library/react": "11.2.7",
"@testing-library/user-event": "12.8.3",
Expand Down Expand Up @@ -53,6 +54,7 @@
"react-toastify": "6.0.9",
"react-use": "17.3.1",
"recharts": "2.1.8",
"reselect": "5.1.0",
"sass": "1.55.0",
"shallowequal": "1.1.0",
"swr": "2.2.1",
Expand Down Expand Up @@ -124,7 +126,9 @@
"buffer": "6.0.3",
"eslint": "^8.41.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-perf": "3.3.2",
"husky": "7.0.4",
"lint-staged": "12.3.4",
"prettier": "2.5.1",
Expand Down

0 comments on commit 985993c

Please sign in to comment.