refactor: use class private fields #18
Annotations
10 errors and 2 warnings
build:
src/renderer/animation.js#L14
Prefer the spread operator over `Array#concat(…)`
|
build:
src/renderer/stroke.js#L119
Prefer the spread operator over `Array#concat(…)`
|
build:
test/api/init.js#L67
Prefer `Node#append()` over `Node#appendChild()`
|
build:
test/api/init.js#L68
Prefer `Node#append()` over `Node#appendChild()`
|
build:
test/api/init.js#L72
Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`
|
build:
test/api/resize.js#L7
Prefer `Node#append()` over `Node#appendChild()`
|
build:
test/api/resize.js#L23
Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`
|
build:
test/index.js#L27
Prefer `Node#append()` over `Node#appendChild()`
|
build:
test/index.js#L35
Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`
|
build:
test/renderer/animation.js#L4
`String.raw` should be used to avoid escaping `\`
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|