Skip to content

Testing linters#20

Open
mkolosek wants to merge 3 commits into
masterfrom
new-branch
Open

Testing linters#20
mkolosek wants to merge 3 commits into
masterfrom
new-branch

Conversation

@mkolosek

Copy link
Copy Markdown
Owner

No description provided.

class PagesController < ApplicationController
def welcome

puts 'this should not be here'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/ExtraSpacing: Unnecessary spacing detected.
Layout/SpaceBeforeFirstArg: Put one space between the method name and the first argument.

def welcome

puts 'this should not be here'
puts 'This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. '

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/IndentationConsistency: Inconsistent indentation detected.
Metrics/LineLength: Line is too long. [222/80]


puts 'this should not be here'
puts 'This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. '
puts 'Inconsistent spacing.....'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/ExtraSpacing: Unnecessary spacing detected.
Layout/SpaceBeforeFirstArg: Put one space between the method name and the first argument.

puts 'This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. '
puts 'Inconsistent spacing.....'

puts 'This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. '

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Metrics/LineLength: Line is too long. [219/80]


puts 'This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. This is a very long line. '


Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout/EmptyLines: Extra blank line detected.
Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants