Skip to content

Improvement/fix lint #60

Improvement/fix lint

Improvement/fix lint #60

Triggered via pull request June 2, 2024 12:48
Status Failure
Total duration 32s
Artifacts

lint.yml

on: pull_request
cookstyle
21s
cookstyle
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
cookstyle
[Correctable] Style/RedundantParentheses: Don't use parentheses around a method call.
cookstyle
[Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator =. (https://rubystyle.guide#spaces-operators)
cookstyle
[Correctable] Style/ParenthesesAroundCondition: Don't use parentheses around the condition of an if. (https://rubystyle.guide#no-parens-around-condition)
cookstyle
[Correctable] Style/ParenthesesAroundCondition: Don't use parentheses around the condition of an if. (https://rubystyle.guide#no-parens-around-condition)
cookstyle
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
cookstyle
[Correctable] Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
cookstyle
[Correctable] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
cookstyle
[Correctable] Layout/CommentIndentation: Incorrect indentation detected (column 18 instead of 8).
cookstyle
[Correctable] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
cookstyle
[Correctable] Layout/BlockAlignment: end at 354, 2 is not aligned with template '/var/www/rb-rails/config/licenses.yml' do at 346, 4.
cookstyle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cookstyle
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/
cookstyle
Lint/UselessAssignment: Useless assignment to variable - licmode. Did you mean licmode_dg? (https://rubystyle.guide#underscore-unused-vars)
cookstyle
[Correctable] Lint/DeprecatedClassMethods: Dir.exists? is deprecated in favor of Dir.exist?.
cookstyle
Lint/UselessAssignment: Useless assignment to variable - web_dir. (https://rubystyle.guide#underscore-unused-vars)