Skip to content

test: test module definition #5

test: test module definition

test: test module definition #5

Triggered via push May 14, 2024 03:03
Status Failure
Total duration 43s
Artifacts

lint.yml

on: push
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint (18.x): apps/refine/src/app/_refine_context.tsx#L1
Filename is not in kebab case. Rename it to `_refine-context.tsx`
lint (18.x): apps/refine/src/app/_refine_context.tsx#L17
Use an `interface` instead of a `type`
lint (18.x): apps/refine/src/app/_refine_context.tsx#L31
Use an `interface` instead of a `type`
lint (18.x): apps/refine/src/app/_refine_context.tsx#L44
Async method 'login' has no 'await' expression
lint (18.x): apps/refine/src/app/_refine_context.tsx#L45
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint (18.x): apps/refine/src/app/_refine_context.tsx#L54
Async method 'logout' has no 'await' expression
lint (18.x): apps/refine/src/app/_refine_context.tsx#L55
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint (18.x): apps/refine/src/app/_refine_context.tsx#L64
Async method 'onError' has no 'await' expression
lint (18.x): apps/refine/src/app/_refine_context.tsx#L65
Unsafe member access .response on an `any` value
lint (18.x): apps/refine/src/app/_refine_context.tsx#L72
Unsafe assignment of an `any` value
lint (18.x): apps/refine/src/app/_refine_context.tsx#L4
Import "AuthProvider" is only used as types
lint (18.x): apps/refine/src/app/_refine_context.tsx#L8
There should be no empty line between import groups
lint (18.x): apps/refine/src/app/_refine_context.tsx#L10
There should be no empty line between import groups
lint (18.x): apps/refine/src/app/_refine_context.tsx#L21
Function component is not a function declaration
lint (18.x): apps/refine/src/app/_refine_context.tsx#L23
Missing return type on function
lint (18.x): apps/refine/src/app/_refine_context.tsx#L35
Function component is not a function declaration
lint (18.x): apps/refine/src/app/_refine_context.tsx#L35
Missing return type on function
lint (18.x): apps/refine/src/app/_refine_context.tsx#L113
Props should be sorted alphabetically
lint (18.x): apps/refine/src/app/_refine_context.tsx#L114
Props should be sorted alphabetically
lint (18.x): apps/refine/src/app/_refine_context.tsx#L115
Props should be sorted alphabetically