Bump eslint-plugin-unicorn from 64.0.0 to 73.0.0 #1639
linter.yml
on: pull_request
Lint TS-InSpec-Objects
19s
Annotations
10 errors
|
Lint TS-InSpec-Objects:
src/parsers/oval.ts#L62
The variable `criteriaRefs` should be named `criteriaReferences`. A more descriptive name will do too
|
|
Lint TS-InSpec-Objects:
src/parsers/oval.ts#L61
The variable `extractAllCriteriaRefs` should be named `extractAllCriteriaReferences`. A more descriptive name will do too
|
|
Lint TS-InSpec-Objects:
src/parsers/oval.ts#L20
Move `oNode` into the block where it is used
|
|
Lint TS-InSpec-Objects:
src/parsers/oval.ts#L19
Boolean name `bGreedy` should start with `is`, `are`, `has`, `have`, `can`, `should`, `was`, `were`, `did`, `will`, `requires`
|
|
Lint TS-InSpec-Objects:
src/objects/profile.ts#L136
Do not use unnecessary template literal expressions
|
|
Lint TS-InSpec-Objects:
src/objects/profile.ts#L26
Prefer HTTPS over HTTP
|
|
Lint TS-InSpec-Objects:
src/objects/control.ts#L230
Consider moving this simple condition first after verifying short-circuit behavior
|
|
Lint TS-InSpec-Objects:
src/objects/control.ts#L205
Boolean name `verbose` should start with `is`, `are`, `has`, `have`, `can`, `should`, `was`, `were`, `did`, `will`, `requires`
|
|
Lint TS-InSpec-Objects:
src/objects/control.ts#L161
The variable `ref` should be named `reference`. A more descriptive name will do too
|
|
Lint TS-InSpec-Objects:
src/objects/control.ts#L101
Move the complex iterable expression out of the `for…of` loop header
|