Skip to content

WIP: chore: add lerna, eslint, prettier, commitlint, size limit, etc #3

WIP: chore: add lerna, eslint, prettier, commitlint, size limit, etc

WIP: chore: add lerna, eslint, prettier, commitlint, size limit, etc #3

Triggered via pull request April 2, 2024 11:27
Status Failure
Total duration 42s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 10 warnings
test
Process completed with exit code 1.
size
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'MakeBiteType<ITriggers, IState, IRootTrigger>'.
size
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'MakeBiteType<ITriggers, IState, IRootTrigger>'.
size
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'MakeBiteType<ITriggers, IState, IRootTrigger>'.
size
Parameter 'name' implicitly has an 'any' type.
size
Parameter 'name' implicitly has an 'any' type.
size
Binding element 'resolve' implicitly has an 'any' type.
size
Binding element 'reject' implicitly has an 'any' type.
size
Binding element 'args' implicitly has an 'any' type.
size
Parameter 'timeout' implicitly has an 'any' type.
size
Parameter 'args' implicitly has an 'any' type.
lint: packages/core-v1/lib/Bite.ts#L5
exported declaration 'BiteType' not used within other modules
lint: packages/core-v1/lib/Slice.ts#L12
Arrow function has too many parameters (4). Maximum allowed is 3
lint: packages/core-v1/lib/System.ts#L55
No magic number: 5000
lint: packages/core-v1/lib/createMiddleware.ts#L18
Arrow function has too many parameters (5). Maximum allowed is 3
lint: packages/core-v1/lib/createMiddleware.ts#L21
Refactor this function to reduce its Cognitive Complexity from 43 to the 20 allowed
lint: packages/core-v1/lib/createMiddleware.ts#L35
This branch's code block is the same as the block for the branch on line 29
lint: packages/core-v1/lib/createMiddleware.ts#L81
A function with a name starting with an uppercase letter should only be used as a constructor
lint: packages/core-v1/lib/createReducer.ts#L34
Merge this if statement with the nested one
lint: packages/core-v1/lib/createReducer.ts#L39
Merge this if statement with the nested one
lint: packages/core-v1/lib/processor/createProcessorInstance.ts#L5
Function 'createProcessorInstance' has too many parameters (4). Maximum allowed is 3
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
size
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
commitlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
commitlint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: packages/core-v1/lib/configureRoot.ts#L2
'createStore' is deprecated
lint: packages/core-v1/lib/configureRoot.ts#L14
The signature '(reducer: Reducer<any, AnyAction>, enhancer?: StoreEnhancer<{ dispatch: unknown; }, {}> | undefined): Store<any, AnyAction> & { ...; }' of 'createStore' is deprecated
lint: packages/playground/src/_redux/index.ts#L1
'createStore' is deprecated
lint: packages/playground/src/_redux/index.ts#L29
The signature '(reducer: Reducer<CombinedState<{ [x: string]: unknown; }>, never>, enhancer?: StoreEnhancer<{ dispatch: unknown; }, {}>): Store<EmptyObject & { ...; }, never> & { ...; }' of 'createStore' is deprecated
lint: packages/playground/src/_root/index.tsx#L37
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead