Skip to content

Commit b612a54

Browse files
authored
Merge pull request #269 from Itheum/stg
1.10.0 STG -> MAIN
2 parents b41d02b + 4e6ca4b commit b612a54

32 files changed

+10781
-19274
lines changed

.eslintrc

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,35 @@
11
{
22
"env": {
33
"es2021": true,
4-
"node": true
4+
"node": true,
55
},
66
"parser": "@typescript-eslint/parser",
77
"parserOptions": {
88
"ecmaVersion": 2021,
99
"sourceType": "module",
1010
"ecmaFeatures": {
11-
"jsx": true
12-
}
11+
"jsx": true,
12+
},
1313
},
1414
"settings": {
1515
"import/parsers": {
16-
"@typescript-eslint/parser": [".ts", ".tsx"]
16+
"@typescript-eslint/parser": [".ts", ".tsx"],
1717
},
1818
"import/resolver": {
1919
"node": {
2020
"extensions": [".js", ".jsx", ".ts", ".tsx"],
21-
"moduleDirectory": ["node_modules", "src/"]
21+
"moduleDirectory": ["node_modules", "src/"],
2222
},
2323
"typescript": {
24-
"alwaysTryTypes": true
25-
}
24+
"alwaysTryTypes": true,
25+
},
2626
},
2727
"react": {
2828
"pragma": "React",
29-
"version": "detect"
30-
}
29+
"version": "detect",
30+
},
3131
},
32-
"extends": [
33-
"plugin:@typescript-eslint/recommended",
34-
"plugin:react-hooks/recommended",
35-
"prettier"
36-
],
32+
"extends": ["plugin:@typescript-eslint/recommended", "plugin:react-hooks/recommended", "prettier"],
3733
"plugins": ["react-hooks", "prettier", "import"],
3834
"rules": {
3935
"import/order": [
@@ -44,21 +40,22 @@
4440
{
4541
"pattern": "react",
4642
"group": "external",
47-
"position": "before"
48-
}
43+
"position": "before",
44+
},
4945
],
5046
"pathGroupsExcludedImportTypes": ["react"],
5147
"newlines-between": "ignore",
5248
"alphabetize": {
5349
"order": "asc",
54-
"caseInsensitive": true
55-
}
56-
}
50+
"caseInsensitive": true,
51+
},
52+
},
5753
],
5854
"@typescript-eslint/indent": "off",
5955
"@typescript-eslint/explicit-module-boundary-types": "off",
6056
"@typescript-eslint/no-explicit-any": "off",
6157
"@typescript-eslint/explicit-function-return-type": "off",
58+
"@typescript-eslint/no-unused-vars": "warn",
6259
"react/jsx-one-expression-per-line": "off",
6360
"react/prop-types": "off",
6461
"react/display-name": "off",
@@ -81,6 +78,6 @@
8178
"@typescript-eslint/no-shadow": ["warn"],
8279
"react/no-array-index-key": "off",
8380
"prefer-const": "off",
84-
"@typescript-eslint/no-inferrable-types": "off"
85-
}
81+
"@typescript-eslint/no-inferrable-types": "off",
82+
},
8683
}

config-overrides.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

public/index.html renamed to index.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,32 @@
99
manifest.json provides metadata used when your web app is installed on a
1010
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1111
-->
12-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
12+
<link rel="manifest" href="/manifest.json" />
1313
<link
1414
rel="apple-touch-icon"
1515
sizes="180x180"
16-
href="%PUBLIC_URL%/apple-touch-icon.png"
16+
href="/apple-touch-icon.png"
1717
/>
1818
<link
1919
rel="icon"
2020
type="image/png"
2121
sizes="32x32"
22-
href="%PUBLIC_URL%/logo32.png"
22+
href="/logo32.png"
2323
/>
2424
<link
2525
rel="icon"
2626
type="image/png"
2727
sizes="16x16"
28-
href="%PUBLIC_URL%/logo16.png"
28+
href="/logo16.png"
2929
/>
30-
<link rel="manifest" href="%PUBLIC_URL%/site.webmanifest" />
30+
<link rel="manifest" href="/site.webmanifest" />
3131
<link
3232
rel="mask-icon"
33-
href="%PUBLIC_URL%/safari-pinned-tab.svg"
33+
href="/safari-pinned-tab.svg"
3434
color="#23f7dd"
3535
/>
3636
<meta name="msapplication-TileColor" content="#ffffff" />
3737
<meta name="theme-color" content="#ffffff" />
38-
<!--
39-
Notice the use of %PUBLIC_URL% in the tags above.
40-
It will be replaced with the URL of the `public` folder during the build.
41-
Only files inside the `public` folder can be referenced from the HTML.
42-
43-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
44-
work correctly both with client-side routing and a non-root public URL.
45-
Learn how to configure a non-root public URL by running `npm run build`.
46-
-->
4738

4839
<link rel="preconnect" href="https://fonts.googleapis.com" />
4940
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
@@ -87,6 +78,7 @@
8778
<body>
8879
<noscript>You need to enable JavaScript to run this app.</noscript>
8980
<div id="root"></div>
81+
<script type="module" src="/src/index.tsx"></script>
9082
<!--
9183
This HTML file is a template.
9284
If you open it directly in the browser, you will see an empty page.

0 commit comments

Comments
 (0)