fix: update cli and fix linting errors #8
Annotations
21 warnings
ci / ci
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/
|
ci / ci:
src/index.ts#L32
This line has a length of 137. Maximum allowed is 120
|
ci / ci:
src/index.ts#L50
The 'context as T' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L51
The '{ ...context, data: { ...context.data, filled: true } } as typeof context' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L81
The type of 'existing' contains 'any'
|
ci / ci:
src/index.ts#L84
The type of 'existing' contains 'any'
|
ci / ci:
src/index.ts#L87
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L90
The type of 'existing' contains 'any'
|
ci / ci:
src/index.ts#L97
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L105
The '{ type: 'rendered', data: (context as Requires<Schemes>).data } as T' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L105
The 'context as Requires<Schemes>' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L32
This line has a length of 137. Maximum allowed is 120
|
ci / ci:
src/index.ts#L50
The 'context as T' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L51
The '{ ...context, data: { ...context.data, filled: true } } as typeof context' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L81
The type of 'existing' contains 'any'
|
ci / ci:
src/index.ts#L84
The type of 'existing' contains 'any'
|
ci / ci:
src/index.ts#L87
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L90
The type of 'existing' contains 'any'
|
ci / ci:
src/index.ts#L97
The 'context as Extract<T, { type: 'render' }>' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L105
The '{ type: 'rendered', data: (context as Requires<Schemes>).data } as T' has unsafe 'as' type assertion
|
ci / ci:
src/index.ts#L105
The 'context as Requires<Schemes>' has unsafe 'as' type assertion
|