You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are quite a few warnings when compiling the react-app as seen below.
These should ideally be fixed, afterwards we can remove CI=false from our build step to ensure any new code introduced doesn't generate new warnings.
List of warnings:
src/components/ListTree.tsx
Line 30:50: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 30:61: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/components/withStatusIndicator.tsx
Line 41:36: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/hooks/useFetch.ts
Line 12:92: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/pages/alerts/AlertContents.tsx
Line 11:42: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 163:38: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/pages/config/Config.tsx
Line 30:17: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
src/pages/graph/CMTheme.tsx
Line 15:7: Identifier 'outline_fallback' is not in camel case camelcase
src/pages/graph/GraphControls.tsx
Line 66:5: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
Line 94:7: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
Line 115:51: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
Line 139:34: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
src/pages/graph/GraphHelpers.ts
Line 140:46: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
src/pages/graph/GraphTabContent.tsx
Line 8:9: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/pages/graph/Panel.tsx
Line 54:9: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 208:7: Identifier 'partial_response' is not in camel case camelcase
Line 308:20: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 370:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 417:7: Identifier 'partial_response' is not in camel case camelcase
src/pages/graph/SeriesName.tsx
Line 32:47: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
Line 49:32: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
src/pages/graph/TimeInput.tsx
Line 36:18: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 63:20: Forbidden non-null assertion @typescript-eslint/no-non-null-assertion
Line 81:48: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/pages/status/Status.tsx
Line 15:42: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 15:63: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 62:55: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/pages/targets/Targets.tsx
Line 3:8: 'Filter' is defined but never used @typescript-eslint/no-unused-vars
Line 6:10: 'useLocalStorage' is defined but never used @typescript-eslint/no-unused-vars
src/thanos/pages/blocks/helpers.ts
Line 155:45: Array.prototype.map() expects a return value from arrow function array-callback-return
src/thanos/pages/errorBoundary/ErrorBoundary.tsx
Line 10:45: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 11:22: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
src/utils/index.ts
Line 299:28: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Line 300:13: Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
The text was updated successfully, but these errors were encountered:
Currently there are quite a few warnings when compiling the react-app as seen below.
These should ideally be fixed, afterwards we can remove CI=false from our build step to ensure any new code introduced doesn't generate new warnings.
List of warnings:
The text was updated successfully, but these errors were encountered: