Commit 96495a4
authored
chore: enhance linter (#5270)
* refactor: eslint
* fix: prefer early return
* fix: unsafe location
* fix: build failed
* fix: no simple template literal
* fix: no simple template literal
* fix: simple index access
* chore: improve eslint config
* fix: update dep
* fix: lockfile
* fix: no-inferrable-types
* chore: add more rules
* fix: react-key1 parent 6eed593 commit 96495a4
File tree
109 files changed
+443
-508
lines changed- packages
- dashboard/src
- components
- DashboardFrame
- MaskAlert
- Mnemonic
- PageFrame
- Restore
- Stepper
- pages
- Personas
- components
- ContactTableRow
- PersonaDrawer
- Settings/components
- dialogs
- Setup
- SignUp/steps
- Wallets/components/Transfer
- Welcome
- utils
- encryption
- src/payload_internal
- tests
- injected-script
- main/GlobalVariableBridge
- sdk
- mask
- background/database
- persona
- post
- src
- components
- CompositionDialog
- DebugModeUI
- extension
- background-script
- CryptoServices
- EthereumServices
- rpc
- HelperService
- options-page/DashboardComponents
- popups
- PermissionAwareRedirect
- pages
- Personas/Logout
- Wallet
- ContractInteraction
- GasSetting
- SignRequest
- Transfer
- Unlock
- network/gun/version.2
- plugins
- Collectible/types
- FindTruman/SNSAdaptor
- Furucombo/UI
- GoodGhosting/hooks
- ITO/SNSAdaptor
- MaskBox/SNSAdaptor/components
- Polls/SNSAdaptor
- PoolTogether/UI
- RedPacket/SNSAdaptor
- Snapshot/Worker/apis
- Trader
- SNSAdaptor/trader
- apis
- coinmarketcap
- uniswap-v2-subgraph
- helpers
- Transak/SNSAdaptor
- UnlockProtocol/SNSAdaptor
- Wallet
- SNSAdaptor
- GasSettingDialog
- apis
- services/wallet
- dHEDGE/UI
- social-network-adaptor
- facebook.com
- minds.com
- automation
- utils
- twitter.com
- automation
- utils
- utils
- components
- utils-pure/assertion
- utils-ui/DOM
- plugin-infra/src
- manager
- utils
- plugins/FileService/src/Worker
- test-serializer
- theme/src
- web3-providers/src/rarible
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
109 files changed
+443
-508
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | | - | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
| |||
30 | 42 | | |
31 | 43 | | |
32 | 44 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
46 | 61 | | |
| 62 | + | |
47 | 63 | | |
48 | 64 | | |
| 65 | + | |
49 | 66 | | |
50 | 67 | | |
51 | 68 | | |
| 69 | + | |
52 | 70 | | |
53 | 71 | | |
| 72 | + | |
54 | 73 | | |
55 | 74 | | |
56 | 75 | | |
| 76 | + | |
57 | 77 | | |
58 | | - | |
59 | | - | |
| 78 | + | |
| 79 | + | |
60 | 80 | | |
61 | 81 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
Lines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 13 | | |
23 | 14 | | |
24 | 15 | | |
| |||
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
0 commit comments