Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/hound/default_linter.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
module Hound
class DefaultLinter < SimpleDelegator
def status
"Enabled by default foo adfa adfasd adfas"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Lint/Void: Literal "Enabled by default foo adfa adfasd adfas" used in void context.
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
Metrics/LineLength: Line is too long. [98/80]

"Enabled by default"
'Enabled by default'
end

def default?
Expand Down
1 change: 1 addition & 0 deletions lib/hound/linters/base.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literals: true
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.

module Hound
module Linter
class Base
Expand Down