Skip to content

refactor: rename blacklist to blocklist and whitelist to allowlist #1715

refactor: rename blacklist to blocklist and whitelist to allowlist

refactor: rename blacklist to blocklist and whitelist to allowlist #1715

Triggered via pull request November 30, 2023 14:46
Status Success
Total duration 43s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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: rule/imports-blacklist.go#L16
exported method ImportsBlacklistRule.Apply should have comment or be unexported
Lint: rule/imports-blacklist.go#L10
comment on exported type ImportsBlacklistRule should be of the form "ImportsBlacklistRule ..." (with optional leading article)
Lint: rule/imports-blacklist.go#L16
parameter 'file' seems to be unused, consider removing or renaming it as _
Lint: rule/imports-blacklist.go#L23
exported method ImportsBlacklistRule.Name should have comment or be unexported
Lint: rule/imports-blacklist.go#L16
parameter 'arguments' seems to be unused, consider removing or renaming it as _