diff --git a/.rubocop.yml b/.rubocop.yml index 9dad94e..cfe6ae3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,14 +6,6 @@ AllCops: - Rakefile - Thorfile -# This must be disabled for compatibility with knife-cookbook-doc. -Style/LeadingCommentSpace: - Enabled: false - -Style/RegexpLiteral: - Exclude: - - Guardfile - -Style/SingleSpaceBeforeFirstArg: +Style/SpaceBeforeFirstArg: Exclude: - metadata.rb diff --git a/Guardfile b/Guardfile index d839b65..5a9d08c 100644 --- a/Guardfile +++ b/Guardfile @@ -19,7 +19,7 @@ end group :lint do guard :rubocop do - watch(%r{.+\.rb$}) + watch(/.+\.rb/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end