WIP: chore: add lerna, eslint, prettier, commitlint, size limit, etc #1
Annotations
10 errors and 6 warnings
Run yarn lint:
packages/core-v1/lib/Bite.ts#L5
exported declaration 'BiteType' not used within other modules
|
Run yarn lint:
packages/core-v1/lib/Slice.ts#L12
Arrow function has too many parameters (4). Maximum allowed is 3
|
Run yarn lint:
packages/core-v1/lib/System.ts#L55
No magic number: 5000
|
Run yarn lint:
packages/core-v1/lib/createMiddleware.ts#L18
Arrow function has too many parameters (5). Maximum allowed is 3
|
Run yarn lint:
packages/core-v1/lib/createMiddleware.ts#L21
Refactor this function to reduce its Cognitive Complexity from 43 to the 20 allowed
|
Run yarn 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
|
Run yarn 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
|
Run yarn lint:
packages/core-v1/lib/createReducer.ts#L34
Merge this if statement with the nested one
|
Run yarn lint:
packages/core-v1/lib/createReducer.ts#L39
Merge this if statement with the nested one
|
Run yarn lint:
packages/core-v1/lib/processor/createProcessorInstance.ts#L5
Function 'createProcessorInstance' has too many parameters (4). Maximum allowed is 3
|
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/.
|
Run yarn lint:
packages/core-v1/lib/configureRoot.ts#L2
'createStore' is deprecated
|
Run yarn 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
|
Run yarn lint:
packages/playground/src/_redux/index.ts#L1
'createStore' is deprecated
|
Run yarn 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
|
Run yarn lint:
packages/playground/src/_root/index.tsx#L37
ReactDOM.render is deprecated since React 18.0.0, use createRoot instead
|
Loading