Merge pull request #58 from retejs/new-linter #18
Annotations
21 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run npm run lint --if-present:
src/index.tsx#L33
Unexpected any. Specify a different type
|
Run npm run lint --if-present:
src/index.tsx#L43
This line has a length of 136. Maximum allowed is 120
|
Run npm run lint --if-present:
src/index.tsx#L60
The '{ ...context, data: { ...context.data, filled: true } } as typeof context' has unsafe 'as' type assertion
|
Run npm run lint --if-present:
src/index.tsx#L86
The type of 'result' contains 'any'
|
Run npm run lint --if-present:
src/index.tsx#L86
Unsafe argument of type `any` assigned to a parameter of type `Extract<T, { type: "render"; }>`
|
Run npm run lint --if-present:
src/index.tsx#L86
The 'context as any' has unsafe 'as' type assertion
|
Run npm run lint --if-present:
src/index.tsx#L86
Unexpected any. Specify a different type
|
Run npm run lint --if-present:
src/index.tsx#L88
The type of 'result' contains 'any'
|
Run npm run lint --if-present:
src/index.tsx#L91
The '{ type: 'rendered', data: context.data } as T' has unsafe 'as' type assertion
|
Run npm run lint --if-present:
src/index.tsx#L96
`mount` is deprecated. See https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis
|
Run npm run build:
src/index.tsx#L33
Unexpected any. Specify a different type
|
Run npm run build:
src/index.tsx#L43
This line has a length of 136. Maximum allowed is 120
|
Run npm run build:
src/index.tsx#L60
The '{ ...context, data: { ...context.data, filled: true } } as typeof context' has unsafe 'as' type assertion
|
Run npm run build:
src/index.tsx#L86
The type of 'result' contains 'any'
|
Run npm run build:
src/index.tsx#L86
Unsafe argument of type `any` assigned to a parameter of type `Extract<T, { type: "render"; }>`
|
Run npm run build:
src/index.tsx#L86
The 'context as any' has unsafe 'as' type assertion
|
Run npm run build:
src/index.tsx#L86
Unexpected any. Specify a different type
|
Run npm run build:
src/index.tsx#L88
The type of 'result' contains 'any'
|
Run npm run build:
src/index.tsx#L91
The '{ type: 'rendered', data: context.data } as T' has unsafe 'as' type assertion
|
Run npm run build:
src/index.tsx#L96
`mount` is deprecated. See https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis
|
Loading