add yarn lint #1
Annotations
20 errors and 2 warnings
build (18.x):
packages/app/src/App.test.tsx#L1
Cannot find module 'react' or its corresponding type declarations.
|
build (18.x):
packages/app/src/App.test.tsx#L2
Cannot find module '@backstage/test-utils' or its corresponding type declarations.
|
build (18.x):
packages/app/src/App.test.tsx#L3
Module './App' was resolved to '/home/runner/work/backstage-plugins/backstage-plugins/packages/app/src/App.tsx', but '--jsx' is not set.
|
build (18.x):
packages/app/src/App.test.tsx#L5
Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
|
build (18.x):
packages/app/src/App.test.tsx#L6
Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
|
build (18.x):
packages/app/src/App.test.tsx#L6
An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.
|
build (18.x):
packages/app/src/App.test.tsx#L7
Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
|
build (18.x):
packages/app/src/App.test.tsx#L23
Cannot use JSX unless the '--jsx' flag is provided.
|
build (18.x):
packages/app/src/App.test.tsx#L24
Cannot find name 'expect'.
|
build (18.x):
packages/app/src/App.tsx#L1
Cannot find module 'react' or its corresponding type declarations.
|
build (20.x):
packages/app/src/App.test.tsx#L1
Cannot find module 'react' or its corresponding type declarations.
|
build (20.x):
packages/app/src/App.test.tsx#L2
Cannot find module '@backstage/test-utils' or its corresponding type declarations.
|
build (20.x):
packages/app/src/App.test.tsx#L3
Module './App' was resolved to '/home/runner/work/backstage-plugins/backstage-plugins/packages/app/src/App.tsx', but '--jsx' is not set.
|
build (20.x):
packages/app/src/App.test.tsx#L5
Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
|
build (20.x):
packages/app/src/App.test.tsx#L6
Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
|
build (20.x):
packages/app/src/App.test.tsx#L6
An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.
|
build (20.x):
packages/app/src/App.test.tsx#L7
Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
|
build (20.x):
packages/app/src/App.test.tsx#L23
Cannot use JSX unless the '--jsx' flag is provided.
|
build (20.x):
packages/app/src/App.test.tsx#L24
Cannot find name 'expect'.
|
build (20.x):
packages/app/src/App.tsx#L1
Cannot find module 'react' or its corresponding type declarations.
|
build (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|