Skip to content

fix checkstyle

179c8bd
Select commit
Loading
Failed to load commit list.
Merged

Refactor code splitting and optimize chunk loading in Vite config #26906

fix checkstyle
179c8bd
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Apr 18, 2026 in 4m 48s

Annotations

Check failure on line 153 in src/components/SettingsSso/SSODocPanel/SSODocPanel.tsx

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=AZ2Q12TI7C-HlP3pEcVv&open=AZ2Q12TI7C-HlP3pEcVv&pullRequest=26906

Check failure on line 61 in src/components/Auth/AppAuthenticators/BasicAuthAuthenticator.tsx

See this annotation in the file changed.

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

Prefer `return value` over `return Promise.resolve(value)`.

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

Check warning on line 488 in src/components/ExploreV1/ExploreV1.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=AZ2aWINA9Pe3ZhzcCOsU&open=AZ2aWINA9Pe3ZhzcCOsU&pullRequest=26906

Check warning on line 231 in src/rest/rdfAPI.ts

See this annotation in the file changed.

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

Extract this nested ternary operation into an independent statement.

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

Check warning on line 259 in src/utils/SchedularUtils.tsx

See this annotation in the file changed.

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

Prefer `Number.isNaN` over `isNaN`.

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

Check warning on line 169 in src/utils/CustomizeGlossaryTerm/CustomizeGlossaryTermBaseClass.ts

See this annotation in the file changed.

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

Prefer using nullish coalescing operator (`??=`) instead of an assignment expression, as it is simpler to read.

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

Check warning on line 277 in src/components/common/FileUpload/MUIFileUpload.tsx

See this annotation in the file changed.

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

Extract this nested ternary operation into an independent statement.

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

Check failure on line 41 in src/components/BlockEditor/Extensions/diff-view.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=AZ2c9hg80EzrWDwSRiaf&open=AZ2c9hg80EzrWDwSRiaf&pullRequest=26906

Check failure on line 159 in src/components/common/ServiceDocPanel/ServiceDocPanel.tsx

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=AZ2Q11bt7C-HlP3pEcSi&open=AZ2Q11bt7C-HlP3pEcSi&pullRequest=26906

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

See this annotation in the file changed.

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

Use `new Array()` instead of `Array()`.

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

Check warning on line 172 in src/components/common/Form/JSONSchema/JsonSchemaWidgets/QueryBuilderWidget/QueryBuilderWidget.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=AZ2Q11KY7C-HlP3pEcRM&open=AZ2Q11KY7C-HlP3pEcRM&pullRequest=26906

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

See this annotation in the file changed.

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

'val' will use Object's default stringification format ('[object Object]') when stringified.

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

Check warning on line 306 in src/components/MyData/Widgets/TotalDataAssetsWidget/TotalDataAssetsWidget.component.tsx

See this annotation in the file changed.

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

Visible, non-interactive elements with click handlers must have at least one keyboard listener.

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

Check warning on line 537 in src/hooks/useGridEditController.ts

See this annotation in the file changed.

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

Prefer `Number.parseInt` over `parseInt`.

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

Check warning on line 239 in src/components/MyData/Widgets/CuratedAssetsWidget/CuratedAssetsWidget.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=AZ2Q11uj7C-HlP3pEcTk&open=AZ2Q11uj7C-HlP3pEcTk&pullRequest=26906

Check failure on line 201 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=AZ2Q11BT7C-HlP3pEcQd&open=AZ2Q11BT7C-HlP3pEcQd&pullRequest=26906

Check warning on line 21 in src/utils/Lineage/Layout/ELKUtil/ELKUtil.ts

See this annotation in the file changed.

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

Make this public static property readonly.

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

Check warning on line 121 in src/components/Database/TableQueries/QueryCard.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=AZ2Q100V7C-HlP3pEcPt&open=AZ2Q100V7C-HlP3pEcPt&pullRequest=26906

Check warning on line 283 in src/components/MyData/CustomizableComponents/CustomiseLandingPageHeader/CustomiseLandingPageHeader.tsx

See this annotation in the file changed.

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

Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.

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

Check warning on line 72 in src/components/ActivityFeed/ActivityFeedEditor/ActivityFeedEditor.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=AZ2Q11y57C-HlP3pEcT3&open=AZ2Q11y57C-HlP3pEcT3&pullRequest=26906

Check failure on line 278 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=AZ2Q13VB7C-HlP3pEcan&open=AZ2Q13VB7C-HlP3pEcan&pullRequest=26906

Check warning on line 86 in src/components/Glossary/GlossaryTerms/tabs/GlossaryTermSynonyms.tsx

See this annotation in the file changed.

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

Prefer `.some(…)` over `.find(…)`.

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

Check warning on line 202 in src/components/Explore/AdvanceSearchProvider/AdvanceSearchProvider.component.tsx

See this annotation in the file changed.

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

'checkTree' is deprecated.

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

Check warning on line 417 in src/components/ActivityFeed/ActivityFeedCardNew/ActivityFeedcardNew.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=AZ2Q113x7C-HlP3pEcUF&open=AZ2Q113x7C-HlP3pEcUF&pullRequest=26906

Check warning on line 67 in src/components/Alerts/DestinationFormItem/TeamAndUserSelectItem/TeamAndUserSelectItem.tsx

See this annotation in the file changed.

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

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

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