Release v1.142.0 – staging → master
#12229
reviewdog [eslint] report
reported by reviewdog 🐶
Findings (137)
packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts|173 col 53| Unexpected any. Specify a different type.
packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts|173 col 58| Refactor this code to not nest functions more than 4 levels deep.
packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts|223 col 55| Unexpected any. Specify a different type.
packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts|223 col 60| Refactor this code to not nest functions more than 4 levels deep.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|147 col 14| Define a constant instead of duplicating this literal 6 times.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|157 col 15| Define a constant instead of duplicating this literal 27 times.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|158 col 15| Define a constant instead of duplicating this literal 17 times.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|173 col 15| Define a constant instead of duplicating this literal 7 times.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|180 col 28| Define a constant instead of duplicating this literal 4 times.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|212 col 5| Remove this commented out code.
packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts|439 col 8| Complete the task associated to this "TODO" comment.
packages/manager/cypress/e2e/core/general/analytics.spec.ts|21 col 54| Refactor this code to not nest functions more than 4 levels deep.
packages/manager/cypress/e2e/core/general/analytics.spec.ts|44 col 19| Define a constant instead of duplicating this literal 4 times.
packages/manager/cypress/e2e/core/kubernetes/lke-landing-page.spec.ts|30 col 29| Define a constant instead of duplicating this literal 3 times.
packages/manager/cypress/e2e/core/linodes/linode-network.spec.ts|129 col 8| Complete the task associated to this "TODO" comment.
packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts|111 col 6| Complete the task associated to this "TODO" comment.
packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts|184 col 8| Complete the task associated to this "TODO" comment.
packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts|248 col 8| Complete the task associated to this "TODO" comment.
packages/manager/cypress/e2e/core/placementGroups/create-linode-with-placement-groups.spec.ts|57 col 7| Define a constant instead of duplicating this literal 15 times.
packages/manager/cypress/support/index.d.ts|68 col 30| Unexpected any. Specify a different type.
packages/manager/cypress/support/index.d.ts|102 col 20| Unexpected any. Specify a different type.
packages/manager/cypress/support/setup/page-visit-tracking-commands.ts|34 col 19| Unexpected any. Specify a different type.
packages/manager/cypress/support/util/clusters.ts|30 col 5| Handle this exception or don't catch it at all.
packages/manager/cypress/support/util/clusters.ts|30 col 12| '_e' is defined but never used.
packages/manager/src/components/DocumentTitle/DocumentTitle.tsx|68 col 18| The {} ("empty object") type allows any non-nullish value, including literals like 0 and "".
- If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want
objectinstead. - If you want a type meaning "any value", you probably want
unknowninstead.
packages/manager/src/components/DocumentTitle/DocumentTitle.tsx|68 col 22| Parameter nameComponentmust match one of the following formats: camelCase
packages/manager/src/components/EmptyLandingPageResources/ResourcesLinksSubSection.tsx|9 col 36| Unexpected any. Specify a different type.
packages/manager/src/components/LineGraph/AccessibleGraphData.test.tsx|68 col 20| Unexpected any. Specify a different type.
packages/manager/src/components/OrderBy.tsx|138 col 27| Unexpected any. Specify a different type.
packages/manager/src/components/OrderBy.tsx|139 col 27| Unexpected any. Specify a different type.
packages/manager/src/components/PaymentMethodRow/DeletePaymentMethodDialog.test.tsx|9 col 10| Use null instead.
packages/manager/src/components/RenderGuard.tsx|14 col 12| Make this public static property readonly.
packages/manager/src/components/Uploaders/reducer.ts|50 col 7| Unexpected lexical declaration in case block.
packages/manager/src/components/Uploaders/reducer.ts|141 col 32| Unexpected any. Specify a different type.
packages/manager/src/components/VLANSelect.test.tsx|76 col 12| Avoid destructuring queries fromrenderresult, usescreen.getByDisplayValueinstead
packages/manager/src/components/VerticalLinearStepper/VerticalLinearStepper.styles.ts|19 col 42| Complete the task associated to this "TODO" comment.
packages/manager/src/constants.ts|293 col 65| Remove duplicates in this character class.
packages/manager/src/constants.ts|293 col 76| Unnecessary escape character: ..
packages/manager/src/constants.ts|293 col 79| Unnecessary escape character: #.
packages/manager/src/constants.ts|293 col 81| Unnecessary escape character: $.
packages/manager/src/constants.ts|293 col 92| Unnecessary escape character: ?.
packages/manager/src/constants.ts|293 col 96| Unnecessary escape character: +.
packages/manager/src/constants.ts|293 col 99| Unnecessary escape character: (.
packages/manager/src/constants.ts|293 col 101| Unnecessary escape character: ).
packages/manager/src/containers/withQueryClient.container.tsx|11 col 18| The{}("empty object") type allows any non-nullish value, including literals like0and"". - If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want
objectinstead. - If you want a type meaning "any value", you probably want
unknowninstead.
packages/manager/src/containers/withQueryClient.container.tsx|12 col 5| Parameter nameComponentmust match one of the following formats: camelCase
packages/manager/src/features/Account/Quotas/QuotasIncreaseForm.test.tsx|36 col 12| Avoid destructuring queries fromrenderresult, usescreen.getByTextinstead
packages/manager/src/features/Account/Quotas/QuotasIncreaseForm.test.tsx|36 col 12| Don't wrapgetBy*query withexpect& presence matchers liketoBeInTheDocumentornot.toBeNullasgetBy*queries fail implicitly when element is not found
packages/manager/src/features/Account/Quotas/QuotasIncreaseForm.test.tsx|37 col 12| Avoid destructuring queries fromrenderresult, usescreen.getByLabelTextinstead
packages/manager/src/features/Account/Quotas/QuotasIncreaseForm.test.tsx|69 col 30| Avoid destructuring queries fromrenderresult, usescreen.getByLabelTextinstead
packages/manager/src/features/Account/Quotas/QuotasIncreaseForm.test.tsx|76 col 9| Prefer using userEvent.upload, userEvent.type, userEvent.clear, userEvent.selectOptions, or userEvent.deselectOptions over fireEvent.change
packages/manager/src/features/Account/Quotas/QuotasIncreaseForm.tsx|53 col 19| Define a constant instead of duplicating this literal 3 times.
packages/manager/src/features/Billing/InvoiceDetail/InvoiceDetail.tsx|44 col 20| Unexpected any. Specify a different type.
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListTable.test.tsx|217 col 6| Complete the task associated to this "TODO" comment.
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilter.test.tsx|54 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilter.test.tsx|83 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilter.test.tsx|106 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilter.test.tsx|174 col 11| Avoid destructuring queries fromrenderresult, usescreen.findByTextinstead
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilterField.test.tsx|81 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilterField.test.tsx|125 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/DimensionFilterField.test.tsx|179 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/Metric.test.tsx|76 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/Metric.test.tsx|119 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/Metric.test.tsx|166 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/Metric.test.tsx|208 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/TriggerConditions.test.tsx|73 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/Criteria/TriggerConditions.test.tsx|120 col 11|containeris not a recommended name forrenderreturned value. Instead, you should destructure it, or name it using one of:view, orutils
packages/manager/src/features/CloudPulse/Alerts/CreateAlert/NotificationChannels/AddChannelListing.test.tsx|99 col 11| Avoid destructuring queries fromrenderresult, usescreen.findByTextinstead
packages/manager/src/features/CloudPulse/Overview/GlobalFilters.tsx|128 col 36| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Databases/DatabaseDetail/AddAccessControlDrawer.tsx|147 col 5| Formik is being deprecated. Please use react-hook-form. Learn more at https://linode.github.io/manager/development-guide/15-composition.html#form-composition
packages/manager/src/features/Databases/DatabaseDetail/DatabaseSettings/MaintenanceWindow.tsx|159 col 5| Formik is being deprecated. Please use react-hook-form. Learn more at https://linode.github.io/manager/development-guide/15-composition.html#form-composition
packages/manager/src/features/Domains/DomainDetail/DomainRecords/DomainRecords.tsx|237 col 5| React Hook React.useMemo has missing dependencies: 'handlers' and 'props'. Either include them or remove the dependency array.
packages/manager/src/features/Events/factories/linode.tsx|347 col 7| Complete the task associated to this "TODO" comment.
packages/manager/src/features/Firewalls/FirewallDetail/Rules/firewallRuleEditor.ts|96 col 7| Unexpected lexical declaration in case block.
packages/manager/src/features/Firewalls/FirewallDetail/Rules/firewallRuleEditor.ts|100 col 7| Unexpected lexical declaration in case block.
packages/manager/src/features/Firewalls/FirewallDetail/Rules/firewallRuleEditor.ts|139 col 7| Unexpected lexical declaration in case block.
packages/manager/src/features/Firewalls/FirewallDetail/Rules/firewallRuleEditor.ts|175 col 7| Unexpected lexical declaration in case block.
packages/manager/src/features/Help/SearchHOC.tsx|126 col 4| Parameter nameComponentmust match one of the following formats: camelCase
packages/manager/src/features/Help/SearchHOC.tsx|126 col 35| Unexpected any. Specify a different type.
packages/manager/src/features/Help/SearchHOC.tsx|128 col 56| The{}("empty object") type allows any non-nullish value, including literals like0and"". - If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want
objectinstead. - If you want a type meaning "any value", you probably want
unknowninstead.
packages/manager/src/features/Help/SearchHOC.tsx|173 col 11| Handle this exception or don't catch it at all.
packages/manager/src/features/Help/SearchHOC.tsx|173 col 18| 'e' is defined but never used.
packages/manager/src/features/Help/StatusBanners.tsx|73 col 27| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/IAM/Roles/RolesTable/AssignSingleSelectedRole.tsx|7 col 1| All imports in the declaration are only used as types. Useimport type.
packages/manager/src/features/IAM/Roles/RolesTable/AssignSingleSelectedRole.tsx|22 col 3| 'permissions' is defined but never used. Allowed unused args must match /^/u.
packages/manager/src/features/IAM/Roles/RolesTable/AssignSingleSelectedRole.tsx|51 col 46| Insert,
packages/manager/src/features/IAM/Roles/RolesTable/AssignSingleSelectedRole.tsx|58 col 14| Insert⏎··········
packages/manager/src/features/IAM/Roles/RolesTable/RolesTable.tsx|238 col 26| Complete the task associated to this "TODO" comment.
packages/manager/src/features/IAM/Shared/AssignedPermissionsPanel/AssignedPermissionsPanel.tsx|43 col 9| Fragments should contain more than one child - otherwise, there’s no need for a Fragment at all.
packages/manager/src/features/IAM/Shared/AssignedPermissionsPanel/AssignedPermissionsPanel.tsx|49 col 24| Replace{showName·&&·role.name·?·role.name·:·'Description'}with⏎············{showName·&&·role.name·?·role.name·:·'Description'}⏎··········
packages/manager/src/features/IAM/Shared/utilities.ts|510 col 74| Complete the task associated to this "TODO" comment.
packages/manager/src/features/IAM/Users/UsersTable/UsersActionMenu.test.tsx|64 col 31| Define a constant instead of duplicating this literal 3 times.
packages/manager/src/features/Images/ImagesLanding/ImagesActionMenu.tsx|74 col 15| Define a constant instead of duplicating this literal 3 times.
packages/manager/src/features/Kubernetes/CreateCluster/CreateCluster.tsx|461 col 46| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Kubernetes/CreateCluster/CreateCluster.tsx|487 col 46| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Kubernetes/KubernetesLanding/KubernetesLanding.test.tsx|31 col 12| Avoid destructuring queries fromrenderresult, usescreen.getByTestIdinstead
packages/manager/src/features/Kubernetes/KubernetesLanding/KubernetesLanding.test.tsx|31 col 12| Don't wrapgetBy*query withexpect& presence matchers liketoBeInTheDocumentornot.toBeNullasgetBy*queries fail implicitly when element is not found
packages/manager/src/features/Kubernetes/KubernetesLanding/KubernetesLanding.test.tsx|32 col 37| Prefer using queryBy* when waiting for disappearance
packages/manager/src/features/Kubernetes/KubernetesLanding/KubernetesLanding.test.tsx|32 col 37| Avoid destructuring queries fromrenderresult, usescreen.getByTestIdinstead
packages/manager/src/features/Linodes/CloneLanding/utilities.ts|156 col 7| Unexpected lexical declaration in case block.
packages/manager/src/features/Linodes/CloneLanding/utilities.ts|169 col 7| Unexpected lexical declaration in case block.
packages/manager/src/features/Linodes/LinodeCreate/Details/Details.test.tsx|49 col 9| Avoid destructuring queries fromrenderresult, usescreen.getByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Details/PlacementGroupPanel.test.tsx|23 col 7| Avoid destructuring queries fromrenderresult, usescreen.getByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Summary/Summary.test.tsx|295 col 14| Avoid destructuring queries fromrenderresult, usescreen.getByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Summary/Summary.test.tsx|309 col 14| Avoid destructuring queries fromrenderresult, usescreen.getByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Summary/Summary.test.tsx|322 col 14| Avoid destructuring queries fromrenderresult, usescreen.getByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Summary/Summary.test.tsx|352 col 26| Avoid destructuring queries fromrenderresult, usescreen.findByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Summary/Summary.test.tsx|370 col 26| Avoid destructuring queries fromrenderresult, usescreen.findByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/Summary/Summary.test.tsx|387 col 26| Avoid destructuring queries fromrenderresult, usescreen.findByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/VPC/VPC.test.tsx|49 col 11| Avoid destructuring queries fromrenderresult, usescreen.findByTextinstead
packages/manager/src/features/Linodes/LinodeCreate/VPC/VPC.test.tsx|61 col 21| Define a constant instead of duplicating this literal 4 times.
packages/manager/src/features/Linodes/LinodeCreate/VPC/VPC.test.tsx|101 col 30| Use null instead.
packages/manager/src/features/Linodes/LinodeCreate/VPC/VPCRanges.test.tsx|16 col 29| Define a constant instead of duplicating this literal 4 times.
packages/manager/src/features/Linodes/LinodeCreate/VPC/VPCRanges.test.tsx|20 col 21| Define a constant instead of duplicating this literal 3 times.
packages/manager/src/features/Linodes/LinodesDetail/AclpPreferenceToggle.test.tsx|64 col 13| Use null instead.
packages/manager/src/features/Linodes/LinodesDetail/AclpPreferenceToggle.test.tsx|172 col 13| Use null instead.
packages/manager/src/features/Linodes/LinodesDetail/LinodeConfigs/LinodeConfigDialog.tsx|961 col 30| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Longview/LongviewDetail/DetailTabs/Processes/ProcessesTable.tsx|186 col 20| Unexpected any. Specify a different type.
packages/manager/src/features/Longview/LongviewLanding/LongviewPlans.tsx|233 col 33| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Longview/LongviewLanding/LongviewPlans.tsx|234 col 30| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Longview/LongviewLanding/LongviewPlans.tsx|368 col 33| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Longview/LongviewLanding/LongviewPlans.tsx|369 col 30| Use of theme.spacing() method is deprecated. Use theme.spacingFunction instead. See: https://linode.github.io/manager/development-guide/16-design-tokens.html#spacing
packages/manager/src/features/Managed/Monitors/MonitorTable.tsx|95 col 22| Define a constant instead of duplicating this literal 4 times.
packages/manager/src/features/NodeBalancers/NodeBalancerDetail/NodeBalancerConfigurations.tsx|638 col 45| Unexpected any. Specify a different type.
packages/manager/src/features/NodeBalancers/NodeBalancerDetail/NodeBalancerConfigurations.tsx|638 col 70| Unexpected any. Specify a different type.
packages/manager/src/features/NodeBalancers/NodeBalancerDetail/NodeBalancerConfigurations.tsx|1116 col 7| Parameter nameLmust match one of the following formats: camelCase
packages/manager/src/features/NodeBalancers/NodeBalancerDetail/NodeBalancerConfigurations.tsx|1119 col 13| Unexpected any. Specify a different type.
packages/manager/src/mocks/indexedDB.ts|529 col 63| Refactor this code to not nest functions more than 4 levels deep.
packages/manager/src/mocks/types.ts|63 col 5| Refactor this union type to have less than 3 elements.
packages/manager/src/queries/kubernetes.ts|385 col 4| Complete the task associated to this "TODO" comment.
packages/manager/src/queries/kubernetes.ts|424 col 4| Complete the task associated to this "TODO" comment.
packages/manager/src/store/authentication/authentication.requests.ts|24 col 6| Parameter nameclient_idmust match one of the following formats: camelCase
packages/manager/src/store/authentication/authentication.requests.ts|31 col 7| Handle this exception or don't catch it at all.
packages/manager/src/store/authentication/authentication.requests.ts|31 col 14| '' is defined but never used.
packages/manager/src/utilities/codesnippets/generate-cli.ts|20 col 45| The{}("empty object") type allows any non-nullish value, including literals like0and"". - If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want
objectinstead. - If you want a type meaning "any value", you probably want
unknowninstead.
packages/manager/src/utilities/mergeDeepRight.ts|8 col 28| Unexpected any. Specify a different type.
packages/manager/src/utilities/mergeDeepRight.ts|29 col 11| Unexpected any. Specify a different type.
Filtered Findings (0)
Annotations
Check warning on line 173 in packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts#L173 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)
Unexpected any. Specify a different type.
Raw output
{"ruleId":"@typescript-eslint/no-explicit-any","severity":1,"message":"Unexpected any. Specify a different type.","line":173,"column":53,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":173,"endColumn":56,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[6887,6890],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[6887,6890],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}
Check warning on line 173 in packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts#L173 <sonarjs/no-nested-functions>(https://sonarsource.github.io/rspec/#/rspec/S2004/javascript)
Refactor this code to not nest functions more than 4 levels deep.
Raw output
{"ruleId":"sonarjs/no-nested-functions","severity":1,"message":"Refactor this code to not nest functions more than 4 levels deep.","line":173,"column":58,"nodeType":null,"endLine":173,"endColumn":60}
Check warning on line 223 in packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts#L223 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)
Unexpected any. Specify a different type.
Raw output
{"ruleId":"@typescript-eslint/no-explicit-any","severity":1,"message":"Unexpected any. Specify a different type.","line":223,"column":55,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":223,"endColumn":58,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[8897,8900],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[8897,8900],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}
Check warning on line 223 in packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/account-maintenance.spec.ts#L223 <sonarjs/no-nested-functions>(https://sonarsource.github.io/rspec/#/rspec/S2004/javascript)
Refactor this code to not nest functions more than 4 levels deep.
Raw output
{"ruleId":"sonarjs/no-nested-functions","severity":1,"message":"Refactor this code to not nest functions more than 4 levels deep.","line":223,"column":60,"nodeType":null,"endLine":223,"endColumn":62}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L147 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 6 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 6 times.","line":147,"column":14,"nodeType":"Literal","endLine":147,"endColumn":27}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L157 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 27 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 27 times.","line":157,"column":15,"nodeType":"Literal","endLine":157,"endColumn":27}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L158 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 17 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 17 times.","line":158,"column":15,"nodeType":"Literal","endLine":158,"endColumn":28}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L173 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 7 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 7 times.","line":173,"column":15,"nodeType":"Literal","endLine":173,"endColumn":27}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L180 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 4 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 4 times.","line":180,"column":28,"nodeType":"Literal","endLine":180,"endColumn":40}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L212-L231 <sonarjs/no-commented-code>(https://sonarsource.github.io/rspec/#/rspec/S125/javascript)
Remove this commented out code.
Raw output
{"ruleId":"sonarjs/no-commented-code","severity":1,"message":"Remove this commented out code.","line":212,"column":5,"nodeType":null,"messageId":"commentedCode","endLine":231,"endColumn":13,"suggestions":[{"messageId":"commentedCodeFix","fix":{"range":[6464,7210],"text":""},"desc":"Remove this commented out code"}]}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/account/restricted-user-details-pages.spec.ts#L439 <sonarjs/todo-tag>(https://sonarsource.github.io/rspec/#/rspec/S1135/javascript)
Complete the task associated to this "TODO" comment.
Raw output
{"ruleId":"sonarjs/todo-tag","severity":1,"message":"Complete the task associated to this \"TODO\" comment.","line":439,"column":8,"nodeType":null,"messageId":"completeTODO","endLine":439,"endColumn":12}
Check warning on line 21 in packages/manager/cypress/e2e/core/general/analytics.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/general/analytics.spec.ts#L21 <sonarjs/no-nested-functions>(https://sonarsource.github.io/rspec/#/rspec/S2004/javascript)
Refactor this code to not nest functions more than 4 levels deep.
Raw output
{"ruleId":"sonarjs/no-nested-functions","severity":1,"message":"Refactor this code to not nest functions more than 4 levels deep.","line":21,"column":54,"nodeType":null,"endLine":21,"endColumn":56}
Check warning on line 44 in packages/manager/cypress/e2e/core/general/analytics.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/general/analytics.spec.ts#L44 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 4 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 4 times.","line":44,"column":19,"nodeType":"Literal","endLine":44,"endColumn":31}
Check warning on line 30 in packages/manager/cypress/e2e/core/kubernetes/lke-landing-page.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/kubernetes/lke-landing-page.spec.ts#L30 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 3 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 3 times.","line":30,"column":29,"nodeType":"Literal","endLine":30,"endColumn":46}
Check warning on line 129 in packages/manager/cypress/e2e/core/linodes/linode-network.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/linodes/linode-network.spec.ts#L129 <sonarjs/todo-tag>(https://sonarsource.github.io/rspec/#/rspec/S1135/javascript)
Complete the task associated to this "TODO" comment.
Raw output
{"ruleId":"sonarjs/todo-tag","severity":1,"message":"Complete the task associated to this \"TODO\" comment.","line":129,"column":8,"nodeType":null,"messageId":"completeTODO","endLine":129,"endColumn":12}
Check warning on line 111 in packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts#L111 <sonarjs/todo-tag>(https://sonarsource.github.io/rspec/#/rspec/S1135/javascript)
Complete the task associated to this "TODO" comment.
Raw output
{"ruleId":"sonarjs/todo-tag","severity":1,"message":"Complete the task associated to this \"TODO\" comment.","line":111,"column":6,"nodeType":null,"messageId":"completeTODO","endLine":111,"endColumn":10}
Check warning on line 184 in packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts#L184 <sonarjs/todo-tag>(https://sonarsource.github.io/rspec/#/rspec/S1135/javascript)
Complete the task associated to this "TODO" comment.
Raw output
{"ruleId":"sonarjs/todo-tag","severity":1,"message":"Complete the task associated to this \"TODO\" comment.","line":184,"column":8,"nodeType":null,"messageId":"completeTODO","endLine":184,"endColumn":12}
Check warning on line 248 in packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/linodes/rebuild-linode.spec.ts#L248 <sonarjs/todo-tag>(https://sonarsource.github.io/rspec/#/rspec/S1135/javascript)
Complete the task associated to this "TODO" comment.
Raw output
{"ruleId":"sonarjs/todo-tag","severity":1,"message":"Complete the task associated to this \"TODO\" comment.","line":248,"column":8,"nodeType":null,"messageId":"completeTODO","endLine":248,"endColumn":12}
github-actions / eslint
[eslint] packages/manager/cypress/e2e/core/placementGroups/create-linode-with-placement-groups.spec.ts#L57 <sonarjs/no-duplicate-string>(https://sonarsource.github.io/rspec/#/rspec/S1192/javascript)
Define a constant instead of duplicating this literal 15 times.
Raw output
{"ruleId":"sonarjs/no-duplicate-string","severity":1,"message":"Define a constant instead of duplicating this literal 15 times.","line":57,"column":7,"nodeType":"Literal","endLine":57,"endColumn":19}
Check warning on line 68 in packages/manager/cypress/support/index.d.ts
github-actions / eslint
[eslint] packages/manager/cypress/support/index.d.ts#L68 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)
Unexpected any. Specify a different type.
Raw output
{"ruleId":"@typescript-eslint/no-explicit-any","severity":1,"message":"Unexpected any. Specify a different type.","line":68,"column":30,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":68,"endColumn":33,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[2070,2073],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[2070,2073],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}
Check warning on line 102 in packages/manager/cypress/support/index.d.ts
github-actions / eslint
[eslint] packages/manager/cypress/support/index.d.ts#L102 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)
Unexpected any. Specify a different type.
Raw output
{"ruleId":"@typescript-eslint/no-explicit-any","severity":1,"message":"Unexpected any. Specify a different type.","line":102,"column":20,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":102,"endColumn":23,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[3143,3146],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[3143,3146],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}
Check warning on line 34 in packages/manager/cypress/support/setup/page-visit-tracking-commands.ts
github-actions / eslint
[eslint] packages/manager/cypress/support/setup/page-visit-tracking-commands.ts#L34 <@typescript-eslint/no-explicit-any>(https://typescript-eslint.io/rules/no-explicit-any)
Unexpected any. Specify a different type.
Raw output
{"ruleId":"@typescript-eslint/no-explicit-any","severity":1,"message":"Unexpected any. Specify a different type.","line":34,"column":19,"nodeType":"TSAnyKeyword","messageId":"unexpectedAny","endLine":34,"endColumn":22,"suggestions":[{"messageId":"suggestUnknown","fix":{"range":[921,924],"text":"unknown"},"desc":"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."},{"messageId":"suggestNever","fix":{"range":[921,924],"text":"never"},"desc":"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."}]}
Check warning on line 32 in packages/manager/cypress/support/util/clusters.ts
github-actions / eslint
[eslint] packages/manager/cypress/support/util/clusters.ts#L30-L32 <sonarjs/no-ignored-exceptions>(https://sonarsource.github.io/rspec/#/rspec/S2486/javascript)
Handle this exception or don't catch it at all.
Raw output
{"ruleId":"sonarjs/no-ignored-exceptions","severity":1,"message":"Handle this exception or don't catch it at all.","line":30,"column":5,"nodeType":"CatchClause","messageId":"handleException","endLine":32,"endColumn":4}
Check warning on line 30 in packages/manager/cypress/support/util/clusters.ts
github-actions / eslint
[eslint] packages/manager/cypress/support/util/clusters.ts#L30 <no-unused-vars>(https://eslint.org/docs/latest/rules/no-unused-vars)
'_e' is defined but never used.
Raw output
{"ruleId":"no-unused-vars","severity":1,"message":"'_e' is defined but never used.","line":30,"column":12,"nodeType":"Identifier","messageId":"unusedVar","endLine":30,"endColumn":14}
Check warning on line 68 in packages/manager/src/components/DocumentTitle/DocumentTitle.tsx
github-actions / eslint
[eslint] packages/manager/src/components/DocumentTitle/DocumentTitle.tsx#L68 <@typescript-eslint/no-empty-object-type>(https://typescript-eslint.io/rules/no-empty-object-type)
The `{}` ("empty object") type allows any non-nullish value, including literals like `0` and `""`.
- If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.
- If you want a type meaning "any object", you probably want `object` instead.
- If you want a type meaning "any value", you probably want `unknown` instead.
Raw output
{"ruleId":"@typescript-eslint/no-empty-object-type","severity":1,"message":"The `{}` (\"empty object\") type allows any non-nullish value, including literals like `0` and `\"\"`.\n- If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.\n- If you want a type meaning \"any object\", you probably want `object` instead.\n- If you want a type meaning \"any value\", you probably want `unknown` instead.","line":68,"column":18,"nodeType":"TSTypeLiteral","messageId":"noEmptyObject","endLine":68,"endColumn":20,"suggestions":[{"messageId":"replaceEmptyObjectType","data":{"replacement":"object"},"fix":{"range":[1793,1795],"text":"object"},"desc":"Replace `{}` with `object`."},{"messageId":"replaceEmptyObjectType","data":{"replacement":"unknown"},"fix":{"range":[1793,1795],"text":"unknown"},"desc":"Replace `{}` with `unknown`."}]}