fix build #343
Annotations
3 errors and 3 warnings
lint:
new-docs/src/color/static/table.tsx#L12
Definition for rule 'react/prop-types' was not found
|
lint:
new-docs/src/color/static/table.tsx#L19
Definition for rule 'react/prop-types' was not found
|
lint
Process completed with exit code 1.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
new-docs/src/color/sample/sample.tsx#L53
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. If 'setContrast' needs the current value of 'props', you can also switch to useReducer instead of useState and read 'props' in the reducer
|