diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-07-30 10:55:59 -0600 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2023-07-30 23:57:51 +0000 |
commit | 080d8b05297f3f5afcf33354a40a5201697b1df5 (patch) | |
tree | 35180bd3cb9fcd137feca3fe169032cbbb469463 /src/features/workspaces/components | |
parent | refactor: various improvements (#1296) (diff) | |
download | ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.tar.gz ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.tar.zst ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.zip |
refactor: more lint improvements
- set parserOptions.ecmaVersion to latest and env to es2024 in eslint config
- install missing types libraries
- install eslint-plugin-sonar
- enable eslint-plugin-sonar recommended rules and declare jsx-runtime for react in eslint config
- clean up disabled lint rules which don't inflict problems anymore
- disable various lint issues and fix others
Diffstat (limited to 'src/features/workspaces/components')
-rw-r--r-- | src/features/workspaces/components/WorkspacesDashboard.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/features/workspaces/components/WorkspacesDashboard.tsx b/src/features/workspaces/components/WorkspacesDashboard.tsx index a823132c5..ba06730a0 100644 --- a/src/features/workspaces/components/WorkspacesDashboard.tsx +++ b/src/features/workspaces/components/WorkspacesDashboard.tsx | |||
@@ -152,6 +152,7 @@ class WorkspacesDashboard extends Component<IProps> { | |||
152 | {intl.formatMessage(messages.workspacesRequestFailed)} | 152 | {intl.formatMessage(messages.workspacesRequestFailed)} |
153 | </Infobox> | 153 | </Infobox> |
154 | ) : ( | 154 | ) : ( |
155 | // eslint-disable-next-line react/jsx-no-useless-fragment | ||
155 | <> | 156 | <> |
156 | {workspaces.length === 0 ? ( | 157 | {workspaces.length === 0 ? ( |
157 | <div className="align-middle settings__empty-state"> | 158 | <div className="align-middle settings__empty-state"> |