Skip to content

Instantly share code, notes, and snippets.

@cfcosta
Created June 24, 2019 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfcosta/3065c4760e796ac20babb90dad82eddd to your computer and use it in GitHub Desktop.
Save cfcosta/3065c4760e796ac20babb90dad82eddd to your computer and use it in GitHub Desktop.
./src/store/Selectors/GraphData.ts
Line 103: Expected to return a value in arrow function array-callback-return
Line 108: Prefer 'as DecoratedGraphNodeData' instead of '<DecoratedGraphNodeData>' when doing type assertions @typescript-eslint/no-angle-bracket-type-assertion
Line 110: Prefer 'as DecoratedGraphNodeWrapper' instead of '<DecoratedGraphNodeWrapper>' when doing type assertions @typescript-eslint/no-angle-bracket-type-assertion
Line 128: Prefer 'as DecoratedGraphEdgeData' instead of '<DecoratedGraphEdgeData>' when doing type assertions @typescript-eslint/no-angle-bracket-type-assertion
Line 130: Prefer 'as DecoratedGraphEdgeWrapper' instead of '<DecoratedGraphEdgeWrapper>' when doing type assertions @typescript-eslint/no-angle-bracket-type-assertion
./src/components/CytoscapeGraph/ContextMenu/NodeContextMenu.tsx
Line 107: Anchors must have content and the content must be accessible by a screen reader jsx-a11y/anchor-has-content
./src/components/MessageCenter/NotificationDrawer.tsx
Line 108: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
./src/components/Health/HealthDetails.tsx
Line 10: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/Metrics/TrafficDetails.tsx
Line 110: Unreachable code no-unreachable
Line 120: Unreachable code no-unreachable
Line 130: Unreachable code no-unreachable
Line 138: Unreachable code no-unreachable
./src/pages/ServiceDetails/ServiceInfo.tsx
Line 113: Expected to return a value in arrow function array-callback-return
./src/components/ConfigValidation/ConfigIndicator.tsx
Line 118: Expected to return a value in arrow function array-callback-return
./src/components/Nav/RenderPage.tsx
Line 11: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/ServiceDetails/ServiceTraces.tsx
Line 11: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/Overview/OverviewToolbar.tsx
Line 123: Expected an object to be thrown no-throw-literal
./src/pages/Login/LoginPage.tsx
Line 132: Multiline support is limited to browsers supporting ES5 only no-multi-str
./src/components/Nav/Menu.tsx
Line 13: Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener react/jsx-no-target-blank
./src/pages/WorkloadDetails/WorkloadInfo/WorkloadPods.tsx
Line 15: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/JaegerIntegration/TagsControl.tsx
Line 15: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/TrafficPolicy.tsx
Line 164: Unreachable code no-unreachable
Line 169: Unreachable code no-unreachable
./src/components/SummaryPanel/ResponseTimeChart.tsx
Line 16: Useless constructor @typescript-eslint/no-useless-constructor
./src/types/Health.ts
Line 171: Nested block is redundant no-lone-blocks
Line 232: Nested block is redundant no-lone-blocks
Line 300: Nested block is redundant no-lone-blocks
./src/components/SessionTimeout/SessionTimeout.tsx
Line 17: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/Overview/OverviewCardLinks.tsx
Line 17: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/MatchingRouting/Matches.tsx
Line 17: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/Slider/Slider.tsx
Line 184: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
Line 186: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
./src/pages/ServiceDetails/ServiceInfo/ServiceInfoDestinationRules.tsx
Line 18: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/JaegerIntegration/LookBack.tsx
Line 18: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/IstioConfigDetails/IstioObjectDetails/DestinationRuleDetail.tsx
Line 18: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/Overview/OverviewCardContent.tsx
Line 18: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioActions/IstioActionsDropdown.tsx
Line 18: Unnecessarily computed property ['.modal-content'] found no-useless-computed-key
./src/pages/Overview/OverviewStatus.tsx
Line 19: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/Details/DetailObject.tsx
Line 21: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/Filters/StatefulFilters.tsx
Line 247: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
./src/pages/IstioConfigDetails/IstioObjectDetails/VirtualServiceDetail.tsx
Line 24: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/ServiceDetails/ServiceInfo/ServiceInfoVirtualServices.tsx
Line 24: Useless constructor @typescript-eslint/no-useless-constructor
./src/types/IstioConfigList.ts
Line 24: '_' is defined but never used @typescript-eslint/no-unused-vars
./src/components/SummaryPanel/RateChart.tsx
Line 25: Useless constructor @typescript-eslint/no-useless-constructor
Line 103: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/SummaryPanel/InOutRateChart.tsx
Line 29: Useless constructor @typescript-eslint/no-useless-constructor
Line 118: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/Overview/OverviewCardContentExpanded.tsx
Line 29: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/Graph/GraphHelpFind.tsx
Line 31: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/MatchingRouting/Rules.tsx
Line 31: Unnecessarily computed property ['.list-group-item-heading'] found no-useless-computed-key
Line 35: Unnecessarily computed property ['.list-view-pf-actions'] found no-useless-computed-key
Line 57: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/Pf/PfTitle.tsx
Line 36: Unnecessary escape character: \- no-useless-escape
Line 36: Unnecessary escape character: \- no-useless-escape
Line 36: Unnecessary escape character: \- no-useless-escape
Line 36: Unnecessary escape character: \- no-useless-escape
Line 36: Unnecessary escape character: \- no-useless-escape
./src/components/IstioWizards/SuspendTraffic.tsx
Line 39: Unnecessarily computed property ['.list-view-pf-main-info'] found no-useless-computed-key
Line 42: Unnecessarily computed property ['.list-group-item-heading'] found no-useless-computed-key
Line 46: Unnecessarily computed property ['.list-group-item-text'] found no-useless-computed-key
./src/components/IstioWizards/MatchingRouting/RuleBuilder.tsx
Line 39: Unnecessarily computed property ['.rbt-token .rbt-token-remove-button'] found no-useless-computed-key
Line 56: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/SummaryPanel/ResponseTable.tsx
Line 40: Useless constructor @typescript-eslint/no-useless-constructor
Line 72: Expected to return a value in arrow function array-callback-return
Line 73: Expected to return a value in arrow function array-callback-return
./src/components/IstioWizards/IstioWizard.tsx
Line 44: Unnecessarily computed property ['.btn'] found no-useless-computed-key
./src/components/IstioWizards/MatchingRouting/MatchBuilder.tsx
Line 45: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/BreadcrumbView/BreadcrumbView.tsx
Line 45: Unnecessary escape character: \- no-useless-escape
Line 45: Unnecessary escape character: \- no-useless-escape
Line 45: Unnecessary escape character: \- no-useless-escape
Line 45: Unnecessary escape character: \- no-useless-escape
Line 45: Unnecessary escape character: \- no-useless-escape
./src/components/IstioWizards/ThreeScaleIntegration.tsx
Line 45: Unnecessarily computed property ['.btn'] found no-useless-computed-key
./src/pages/IstioConfigDetails/IstioObjectDetails/VirtualServiceRoute.tsx
Line 47: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/IstioWizardDropdown.tsx
Line 51: Unnecessarily computed property ['.modal-content'] found no-useless-computed-key
./src/components/Label/Labels.tsx
Line 52: The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
./src/components/ListPage/ListPagesHelper.ts
Line 53: Expected to return a value in arrow function array-callback-return
./src/pages/ServiceDetails/ServiceInfo/ServiceInfoDescription.tsx
Line 54: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/MetricsOptions/MetricsSettings.tsx
Line 55: Expected to return a value in arrow function array-callback-return
Line 63: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/WeightedRouting.tsx
Line 55: Unnecessarily computed property ['.list-view-pf-main-info'] found no-useless-computed-key
Line 58: Unnecessarily computed property ['.list-group-item-heading'] found no-useless-computed-key
Line 62: Unnecessarily computed property ['.list-group-item-text'] found no-useless-computed-key
./src/components/NamespaceDropdown.tsx
Line 68: Useless constructor @typescript-eslint/no-useless-constructor
./src/pages/WorkloadDetails/WorkloadInfo.tsx
Line 77: Expected to return a value in arrow function array-callback-return
./src/app/InitializingScreen.tsx
Line 78: The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md jsx-a11y/anchor-is-valid
./src/components/SummaryPanel/RpsChart.tsx
Line 94: Useless constructor @typescript-eslint/no-useless-constructor
./src/components/IstioWizards/VirtualServiceHosts.tsx
Line 9: Useless constructor @typescript-eslint/no-useless-constructor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment