Skip to content

Commit e69ce0d

Browse files
committed
Fix some rubocop issues
1 parent 0b8dd96 commit e69ce0d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.rubocop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
AllCops:
2+
Exclude:
3+
- spec/**/*
4+
- jekyll-pre-commit.gemspec
5+
- Gemfile
6+
- Rakefile

lib/jekyll-pre-commit/checks/check.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module Jekyll
22
module PreCommit
33
module Checks
4+
# The baseline check class
5+
# All checks should extend this class
46
class Check
57
def initialize
6-
@result = { :ok => true, :message => "" }
8+
@result = { ok: true, message: '' }
79
end
810
end
911
end

0 commit comments

Comments
 (0)