Skip to content

add linter to the project #1

add linter to the project

add linter to the project #1

Triggered via push November 28, 2024 17:08
Status Failure
Total duration 16s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
critic: sentra.pl#L1
No package-scoped "$VERSION" variable found at line 1, column 1. See page 404 of PBP.
critic: sentra.pl#L26
100 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 26, column 19. Unnamed numeric literals make code less maintainable.
critic: tests/SearchFiles.t#L1
No package-scoped "$VERSION" variable found at line 1, column 1. See page 404 of PBP.
critic: tests/SearchFiles.t#L17
Regular expression without "/s" flag at line 17, column 17. See pages 240,241 of PBP.
critic: tests/SearchFiles.t#L17
Regular expression without "/m" flag at line 17, column 17. See page 237 of PBP.
critic: tests/SearchFiles.t#L18
200 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 18, column 24. Unnamed numeric literals make code less maintainable.
critic: tests/SearchFiles.t#L21
Regular expression without "/s" flag at line 21, column 20. See pages 240,241 of PBP.
critic: tests/SearchFiles.t#L21
Regular expression without "/m" flag at line 21, column 20. See page 237 of PBP.
critic: tests/SearchFiles.t#L22
404 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 22, column 24. Unnamed numeric literals make code less maintainable.
critic: tests/SearchFiles.t#L24
Regular expression without "/s" flag at line 24, column 20. See pages 240,241 of PBP.