diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-04-18 08:18:36 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 08:18:36 -0600 |
commit | c49723056acec489765acb54bae3889ac07f25af (patch) | |
tree | 58bea705d61a728b060e615ce514b8d4a7936c9e /src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx | |
parent | feat: hide all services workspace (#1713) (diff) | |
download | ferdium-app-c49723056acec489765acb54bae3889ac07f25af.tar.gz ferdium-app-c49723056acec489765acb54bae3889ac07f25af.tar.zst ferdium-app-c49723056acec489765acb54bae3889ac07f25af.zip |
refactor: bring down eslint warnings to zero (#1714)
- install `@eslint-react/eslint-plugin` dependency
- configure `@eslint-react/eslint-plugin` in eslint config
- modernize `lint` command in `package.json`
- disable or fix various reported lint issues
- fix `div` being nested in `p` for settings
- replace deprecated `event.keyCode` with `event.key`
- update isEscKeyPress method and unit tests which used deprecated `event.keyCode`
- allow `eslint` v8 as peer dependency for `@eslint-react/eslint-plugin`
Diffstat (limited to 'src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx')
-rw-r--r-- | src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx b/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx index 065690fb5..3a4592666 100644 --- a/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx +++ b/src/components/settings/supportFerdium/SupportFerdiumDashboard.tsx | |||
@@ -33,7 +33,7 @@ const SupportFerdiumDashboard = () => { | |||
33 | <a | 33 | <a |
34 | href="https://twitter.com/ferdiumteam/" | 34 | href="https://twitter.com/ferdiumteam/" |
35 | target="_blank" | 35 | target="_blank" |
36 | rel="noreferrer" | 36 | rel="noreferrer noopener" |
37 | > | 37 | > |
38 | <img | 38 | <img |
39 | alt="Twitter Follow" | 39 | alt="Twitter Follow" |
@@ -43,14 +43,18 @@ const SupportFerdiumDashboard = () => { | |||
43 | <a | 43 | <a |
44 | href="https://github.com/ferdium/ferdium-app" | 44 | href="https://github.com/ferdium/ferdium-app" |
45 | target="_blank" | 45 | target="_blank" |
46 | rel="noreferrer" | 46 | rel="noreferrer noopener" |
47 | > | 47 | > |
48 | <img | 48 | <img |
49 | alt="GitHub Stars" | 49 | alt="GitHub Stars" |
50 | src="https://img.shields.io/github/stars/ferdium/ferdium-app?style=social" | 50 | src="https://img.shields.io/github/stars/ferdium/ferdium-app?style=social" |
51 | /> | 51 | /> |
52 | </a> | 52 | </a> |
53 | <a target="_blank" href={FERDIUM_TRANSLATION} rel="noreferrer"> | 53 | <a |
54 | target="_blank" | ||
55 | href={FERDIUM_TRANSLATION} | ||
56 | rel="noreferrer noopener" | ||
57 | > | ||
54 | <img | 58 | <img |
55 | src="https://badges.crowdin.net/ferdium-app/localized.svg" | 59 | src="https://badges.crowdin.net/ferdium-app/localized.svg" |
56 | alt="Crowdin" | 60 | alt="Crowdin" |
@@ -59,7 +63,7 @@ const SupportFerdiumDashboard = () => { | |||
59 | <a | 63 | <a |
60 | href="https://opencollective.com/ferdium#section-contributors" | 64 | href="https://opencollective.com/ferdium#section-contributors" |
61 | target="_blank" | 65 | target="_blank" |
62 | rel="noreferrer" | 66 | rel="noreferrer noopener" |
63 | > | 67 | > |
64 | <img | 68 | <img |
65 | alt="Open Collective backers" | 69 | alt="Open Collective backers" |
@@ -72,7 +76,7 @@ const SupportFerdiumDashboard = () => { | |||
72 | <a | 76 | <a |
73 | href="https://github.com/ferdium/ferdium-app#contributors-" | 77 | href="https://github.com/ferdium/ferdium-app#contributors-" |
74 | target="_blank" | 78 | target="_blank" |
75 | rel="noreferrer" | 79 | rel="noreferrer noopener" |
76 | > | 80 | > |
77 | <img | 81 | <img |
78 | alt="GitHub contributors (non-exhaustive)" | 82 | alt="GitHub contributors (non-exhaustive)" |