Skip to content

Add eslint config for nextjs application #4

Add eslint config for nextjs application

Add eslint config for nextjs application #4

Triggered via push February 4, 2024 11:36
Status Failure
Total duration 2m 16s
Artifacts
Check quality with ESLint
30s
Check quality with ESLint
Build all packages and apps
2m 0s
Build all packages and apps
send-notification  /  Send notification
1s
send-notification / Send notification
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
Check quality with ESLint
@marshallku/docs#lint: command (/home/runner/work/marshallku-blog-frontend/marshallku-blog-frontend/apps/docs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
Check quality with ESLint
Process completed with exit code 1.
Check quality with ESLint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check quality with ESLint: packages/toast/src/index.ts#L1
Expected 1 empty line after import statement not followed by another import
Check quality with ESLint: packages/toast/src/lib/toast.ts#L10
Missing return type on function
Check quality with ESLint: packages/toast/src/lib/toast.ts#L16
Missing return type on function
Check quality with ESLint: packages/toast/src/lib/toast.ts#L33
Returning a void expression from an arrow function shorthand is forbidden. Please add braces to the arrow function
Check quality with ESLint: packages/utils/src/lib/classNames.ts#L1
Filename is not in kebab case. Rename it to `class-names.ts`
Check quality with ESLint: packages/utils/src/lib/classNames.ts#L1
Missing return type on function
Check quality with ESLint
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `{}`
Check quality with ESLint
'name' will evaluate to '[object Object]' when stringified
Check quality with ESLint: apps/docs/stories/button.stories.tsx#L2
Unable to resolve path to module '@marshallku/ui'
Check quality with ESLint: apps/docs/stories/button.stories.tsx#L5
Unsafe assignment of an `any` value
Build all packages and apps
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.