Compatibility with Opensearch 2.17.1 #16
Annotations
10 errors and 5 warnings
Lint Changed Files:
public/components/main/main.tsx#L6
'Fragment' is defined but never used. Allowed unused vars must match /^_/u
|
Lint Changed Files:
public/components/main/main.tsx#L26
`csstype` import should occur before import of `./reports_table`
|
Lint Changed Files:
public/components/main/main.tsx#L280
Insert `⏎···········`
|
|
|
Lint Changed Files:
public/components/main/main.tsx#L285
Replace `'s'` with `"s"`
|
Lint Changed Files:
public/components/main/main.tsx#L289
Replace `'s'` with `"s"`
|
Lint Changed Files:
public/components/main/main.tsx#L311
Replace `'s'` with `"s"`
|
Lint Changed Files:
public/components/main/main.tsx#L315
["httpClient"] is better written in dot notation
|
Lint Changed Files:
public/components/main/main.tsx#L325
Replace `'s'` with `"s"`
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, lots0logs/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Get node and yarn versions
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/
|
Get node and yarn versions
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 Changed Files:
public/components/main/main.tsx#L237
React Hook useEffect has missing dependencies: 'handleCreateReportDefinitionSuccessToast', 'handleDeleteReportDefinitionSuccessToast', 'handleEditReportDefinitionSuccessToast', 'props', 'refreshReportsDefinitionsTable', and 'refreshReportsTable'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Loading