Skip to content

[BUG] Flyout fix for accelerations tab #355

[BUG] Flyout fix for accelerations tab

[BUG] Flyout fix for accelerations tab #355

Triggered via pull request February 12, 2025 23:07
Status Failure
Total duration 4m 58s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L52
Replace `·dataSource,·updateSQLQueries,·refreshTree,·dataSourceMDSId,·language,·updatePPLQueries` with `⏎··dataSource,⏎··updateSQLQueries,⏎··refreshTree,⏎··dataSourceMDSId,⏎··language,⏎··updatePPLQueries,⏎`
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L163
Replace `dataSourceName:·dataSource,databaseName:database.name,·dataSourceMDSId:·dataSourceMDSId` with `⏎··········dataSourceName:·dataSource,⏎··········databaseName:·database.name,⏎··········dataSourceMDSId:·dataSourceMDSId,⏎········`
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L163
Expected property shorthand
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L164
Replace `dataSourceName:·dataSource,·dataSourceMDSId:·dataSourceMDSId` with `·dataSourceName:·dataSource,·dataSourceMDSId:·dataSourceMDSId·`
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L164
Expected property shorthand
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L184
Replace `acceleration:·accelerationObject,·dataSourceName:·dataSource,·handleRefresh:·refreshDatabasesinTree,·dataSourceMDSId:·dataSourceMDSId` with `⏎······acceleration:·accelerationObject,⏎······dataSourceName:·dataSource,⏎······handleRefresh:·refreshDatabasesinTree,⏎······dataSourceMDSId:·dataSourceMDSId,⏎····`
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L184
Expected property shorthand
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L188
Replace `database,·dataSource,·database.name,·index,·updateSQLQueries,·updatePPLQueries` with `⏎······database,⏎······dataSource,⏎······database.name,⏎······index,⏎······updateSQLQueries,⏎······updatePPLQueries⏎····`
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L118
Unexpected any. Specify a different type
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L255
React Hook useEffect has missing dependencies: 'dataSource', 'dataSourceMDSId', and 'refreshDatabasesinTree'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L264
React Hook useEffect has a missing dependency: 'isObjectLoading'. Either include it or remove the dependency array. You can also do a functional update 'setIsObjectLoading(i => ...)' if you only need 'isObjectLoading' in the 'setIsObjectLoading' call
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L273
React Hook useEffect has a missing dependency: 'isObjectLoading'. Either include it or remove the dependency array. You can also do a functional update 'setIsObjectLoading(i => ...)' if you only need 'isObjectLoading' in the 'setIsObjectLoading' call
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L278
React Hook useEffect has a missing dependency: 'onLoadS3Tree'. Either include it or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L290
React Hook useEffect has missing dependencies: 'isFirstRender' and 'onRefreshTree'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L304
React Hook useEffect has missing dependencies: 'constructObjectTree', 'currentSelectedDatabase', 'dataSource', and 'dataSourceMDSId'. Either include them or remove the dependency array
Lint: public/components/SQLPage/sql_catalog_tree/s3_tree.tsx#L312
React Hook useEffect has missing dependencies: 'stopDatabasesLoading', 'stopLoadingAccelerations', and 'stopLoadingTables'. Either include them or remove the dependency array