Skip to content

lint fix

ac8c6cb
Select commit
Loading
Failed to load commit list.
Merged

Added support for Admitions and code copy button in serviceDoc panel #27732

lint fix
ac8c6cb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Apr 28, 2026 in 5m 38s

Annotations

Check failure on line 575 in src/components/OntologyExplorer/hooks/useGraphData.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg5104ywi8V_l9Fcr&open=AZ3Eg5104ywi8V_l9Fcr&pullRequest=27732

Check warning on line 104 in src/utils/QueryBuilderElasticsearchFormatUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This case's code block is the same as the block for the case on line 91.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg7E_4ywi8V_l9FhC&open=AZ3Eg7E_4ywi8V_l9FhC&pullRequest=27732

Check warning on line 28 in src/components/common/StatusBadge/StatusBadgeV2.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg2454ywi8V_l9FUu&open=AZ3Eg2454ywi8V_l9FUu&pullRequest=27732

Check warning on line 156 in src/components/common/atoms/asyncTreeSelect/useTreeSelection.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg2zE4ywi8V_l9FUY&open=AZ3Eg2zE4ywi8V_l9FUY&pullRequest=27732

Check warning on line 225 in src/pages/AppInstall/AppInstall.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg6Uw4ywi8V_l9FeS&open=AZ3Eg6Uw4ywi8V_l9FeS&pullRequest=27732

Check failure on line 282 in src/utils/BlockEditorUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.dataset` over `setAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg6874ywi8V_l9Fgp&open=AZ3Eg6874ywi8V_l9Fgp&pullRequest=27732

Check warning on line 148 in src/components/common/UserSelectableList/UserSelectableList.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Handle this exception or don't catch it at all.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg3gf4ywi8V_l9FWn&open=AZ3Eg3gf4ywi8V_l9FWn&pullRequest=27732

Check failure on line 323 in src/utils/SchedularUtils.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `throw error` over `return Promise.reject(error)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg7UF4ywi8V_l9FiR&open=AZ3Eg7UF4ywi8V_l9FiR&pullRequest=27732

Check warning on line 273 in src/components/Settings/Users/UsersProfile/UserPermissions/UserPermissions.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg4rd4ywi8V_l9FZv&open=AZ3Eg4rd4ywi8V_l9FZv&pullRequest=27732

Check warning on line 200 in src/utils/QueryBuilderElasticsearchFormatUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg7E_4ywi8V_l9FhG&open=AZ3Eg7E_4ywi8V_l9FhG&pullRequest=27732

Check warning on line 499 in src/utils/CanvasUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Simplify this regular expression to reduce its complexity from 24 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg67D4ywi8V_l9FgC&open=AZ3Eg67D4ywi8V_l9FgC&pullRequest=27732

Check warning on line 55 in src/components/Modals/EntityDeleteModal/EntityDeleteModal.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg3r74ywi8V_l9FW7&open=AZ3Eg3r74ywi8V_l9FW7&pullRequest=27732

Check warning on line 364 in src/components/common/CoverImageUpload/MUICoverImageUpload.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg24H4ywi8V_l9FUn&open=AZ3Eg24H4ywi8V_l9FUn&pullRequest=27732

Check warning on line 127 in src/constants/Schedular.constants.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Simplify this regular expression to reduce its complexity from 63 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg7ck4ywi8V_l9Fi-&open=AZ3Eg7ck4ywi8V_l9Fi-&pullRequest=27732

Check warning on line 238 in src/components/common/CoverImageUpload/MUICoverImageUpload.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg24G4ywi8V_l9FUh&open=AZ3Eg24G4ywi8V_l9FUh&pullRequest=27732

Check warning on line 118 in src/components/common/Table/TableV2Utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg25a4ywi8V_l9FUw&open=AZ3Eg25a4ywi8V_l9FUw&pullRequest=27732

Check failure on line 65 in src/components/BlockEditor/Extensions/File/FileNode.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg2ZQ4ywi8V_l9FTh&open=AZ3Eg2ZQ4ywi8V_l9FTh&pullRequest=27732

Check warning on line 336 in src/components/common/Table/Table.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg26M4ywi8V_l9FUx&open=AZ3Eg26M4ywi8V_l9FUx&pullRequest=27732

Check warning on line 1268 in src/components/DataContract/ODCSImportModal/ODCSImportModal.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg5q_4ywi8V_l9FcC&open=AZ3Eg5q_4ywi8V_l9FcC&pullRequest=27732

Check warning on line 82 in src/components/common/NavigationBlocker/NavigationBlocker.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg3K14ywi8V_l9FVj&open=AZ3Eg3K14ywi8V_l9FVj&pullRequest=27732

Check warning on line 801 in src/components/ActivityFeed/ActivityFeedProvider/ActivityFeedProvider.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg4Ng4ywi8V_l9FYO&open=AZ3Eg4Ng4ywi8V_l9FYO&pullRequest=27732

Check failure on line 63 in src/components/BlockEditor/Extensions/File/FileNode.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg2ZQ4ywi8V_l9FTf&open=AZ3Eg2ZQ4ywi8V_l9FTf&pullRequest=27732

Check failure on line 1300 in src/components/OntologyExplorer/hooks/useOntologyExplorer.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg54c4ywi8V_l9FdD&open=AZ3Eg54c4ywi8V_l9FdD&pullRequest=27732

Check warning on line 62 in src/components/common/FormBuilderV1/widgets/CoreSelectWidget.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'onSelectionChange' is deprecated.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3UYGTSMYVOBW_D9Hj-&open=AZ3UYGTSMYVOBW_D9Hj-&pullRequest=27732

Check failure on line 863 in src/components/common/Table/TableV2.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ3Eg26w4ywi8V_l9FU8&open=AZ3Eg26w4ywi8V_l9FU8&pullRequest=27732