From 53486a1005182988ae57a04be253ea51b694c157 Mon Sep 17 00:00:00 2001 From: Greg Lazarev Date: Tue, 31 Jul 2018 20:21:00 -0700 Subject: [PATCH 1/3] Test GitHub App --- lib/hound/default_linter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hound/default_linter.rb b/lib/hound/default_linter.rb index a51e948..49a471e 100644 --- a/lib/hound/default_linter.rb +++ b/lib/hound/default_linter.rb @@ -1,6 +1,7 @@ module Hound class DefaultLinter < SimpleDelegator def status + "Enabled by default foo adfa adfasd adfas" "Enabled by default" end From f3b5d2cfb481f59e8127a5033b3d11f7ab290214 Mon Sep 17 00:00:00 2001 From: Greg Lazarev Date: Tue, 31 Jul 2018 22:06:54 -0700 Subject: [PATCH 2/3] More violations --- lib/hound/default_linter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hound/default_linter.rb b/lib/hound/default_linter.rb index 49a471e..364853a 100644 --- a/lib/hound/default_linter.rb +++ b/lib/hound/default_linter.rb @@ -3,6 +3,7 @@ class DefaultLinter < SimpleDelegator def status "Enabled by default foo adfa adfasd adfas" "Enabled by default" + 'Enabled by default' end def default? From e847372c5865acc3251f278db229c30c51a9aa04 Mon Sep 17 00:00:00 2001 From: Greg Lazarev Date: Tue, 31 Jul 2018 23:35:48 -0700 Subject: [PATCH 3/3] Freeze strings --- lib/hound/linters/base.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hound/linters/base.rb b/lib/hound/linters/base.rb index 72b09c5..4817311 100644 --- a/lib/hound/linters/base.rb +++ b/lib/hound/linters/base.rb @@ -1,3 +1,4 @@ +# frozen_string_literals: true module Hound module Linter class Base