build(deps-dev): bump xo from 0.54.2 to 0.57.0 #172
Annotations
7 errors and 2 warnings
Run npm test:
lib/index.js#L4
Assignment (=) can be replaced with operator assignment (||=).
|
Run npm test:
lib/index.js#L50
The variable `foundAttrs` should be named `foundAttributes`. A more descriptive name will do too.
|
Run npm test:
lib/index.js#L51
The variable `firstAttr` should be named `firstAttribute`. A more descriptive name will do too.
|
Run npm test:
lib/index.js#L52
The variable `secondAttr` should be named `secondAttribute`. A more descriptive name will do too.
|
Run npm test:
lib/index.js#L69
Prefer `String#replaceAll()` over `String#replace()`.
|
Run npm test:
test/test.js#L10
Prefer `String#replaceAll()` over `String#replace()`.
|
Run npm test
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
Loading