Merge pull request #86 from retejs/new-linter #18
Annotations
21 warnings
release / publish
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/
|
release / publish:
src/index.ts#L34
The type of 'context' contains 'any'
|
release / publish:
src/index.ts#L34
The type of 'Context' contains 'any'
|
release / publish:
src/index.ts#L44
This line has a length of 134. Maximum allowed is 120
|
release / publish:
src/index.ts#L62
The 'context as T' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L63
The '{ ...context, data: { ...context.data, filled: true } } as typeof context' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L97
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L107
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L113
The type of 'component' is 'any'
|
release / publish:
src/index.ts#L115
The '{ type: 'rendered', data: (context as Requires<Schemes>).data } as T' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L115
The 'context as Requires<Schemes>' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L34
The type of 'context' contains 'any'
|
release / publish:
src/index.ts#L34
The type of 'Context' contains 'any'
|
release / publish:
src/index.ts#L44
This line has a length of 134. Maximum allowed is 120
|
release / publish:
src/index.ts#L62
The 'context as T' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L63
The '{ ...context, data: { ...context.data, filled: true } } as typeof context' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L97
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L107
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L113
The type of 'component' is 'any'
|
release / publish:
src/index.ts#L115
The '{ type: 'rendered', data: (context as Requires<Schemes>).data } as T' has unsafe 'as' type assertion
|
release / publish:
src/index.ts#L115
The 'context as Requires<Schemes>' has unsafe 'as' type assertion
|