Skip to content

[KOA-6221] Update eslint-plugin-backpack to v5 which supports ESLint 8 #4

[KOA-6221] Update eslint-plugin-backpack to v5 which supports ESLint 8

[KOA-6221] Update eslint-plugin-backpack to v5 which supports ESLint 8 #4

Triggered via pull request July 24, 2023 08:39
Status Success
Total duration 1m 16s
Artifacts

pr.yml

on: pull_request
Create-NPM-Cache
18s
Create-NPM-Cache
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Run-Tests / Test: test/jsdoc-fail.js#L1
Missing JSDoc return type
Run-Tests / Test: test/jsdoc-fail.js#L1
Missing JSDoc for parameter 'num2'
Run-Tests / Test: test/jsdoc-fail.js#L3
Expected JSDoc for 'num1' but found 'num'
Run-Tests / Test: test/bpk-token-fail.jsx#L4
Unknown color, use a Backpack token instead
Run-Tests / Test: test/prettier-fail.jsx#L3
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`
Run-Tests / Test: test/prettier-fail.jsx#L3
Replace `·return·(<div·role="banner">{children}</div>)·` with `⏎··return·<div·role="banner">{children}</div>;⏎`
Run-Tests / Test: test/react-fail.tsx#L1
'default' import from 'react' is restricted. Please import directly (e.g. import { useEffect } from 'react')
Run-Tests / Test: test/react-fail.tsx#L7
Insert `;`
Run-Tests / Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/