Skip to content

Commit 87c4302

Browse files
committed
fix: set RuboCop target to Ruby 3.3 for compatibility
1 parent cfdd68c commit 87c4302

File tree

3 files changed

+13
-49
lines changed

3 files changed

+13
-49
lines changed

.rubocop.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,3 @@ AllCops:
1313
# Jekyll-specific
1414
Jekyll/NoPutsAllowed:
1515
Enabled: true
16-
17-
# Style
18-
Style/StringLiterals:
19-
Enabled: true
20-
EnforcedStyle: single_quotes
21-
22-
Style/FrozenStringLiteralComment:
23-
Enabled: true
24-
EnforcedStyle: always
25-
26-
# Metrics
27-
Metrics/LineLength:
28-
Max: 120
29-
Enabled: true
30-
31-
Metrics/MethodLength:
32-
Max: 25
33-
Enabled: true
34-
35-
Metrics/BlockLength:
36-
Enabled: true
37-
Exclude:
38-
- '**/*.gemspec'
39-
40-
# Layout
41-
Layout/IndentationConsistency:
42-
Enabled: true
43-
44-
Layout/TrailingWhitespace:
45-
Enabled: true
46-
47-
Layout/EndOfLine:
48-
Enabled: true
49-
EnforcedStyle: lf
50-
51-
# Documentation
52-
Style/Documentation:
53-
Enabled: false

Gemfile

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
# frozen_string_literal: true
22

3-
source "https://rubygems.org"
3+
source 'https://rubygems.org'
44

5-
gem "jekyll"
5+
gem 'jekyll'
66

7-
gem "rubocop-jekyll"
7+
gem 'rubocop-jekyll'
88

99
# Required to fix Ruby standard library load warnings
10-
gem "base64"
11-
gem "benchmark"
12-
gem "csv"
13-
gem "logger"
14-
gem "ostruct"
15-
gem "bigdecimal"
10+
gem 'base64'
11+
gem 'benchmark'
12+
gem 'bigdecimal'
13+
gem 'csv'
14+
gem 'logger'
15+
gem 'ostruct'
16+
gem 'rubocop'
1617

1718
group :jekyll_plugins do
1819
# Install Jekyll plugins here
1920
end
2021

2122
platforms :mingw, :x64_mingw, :mswin, :jruby do
22-
gem "tzinfo", ">= 1", "< 3"
23-
gem "tzinfo-data"
23+
gem 'tzinfo', '>= 1', '< 3'
24+
gem 'tzinfo-data'
2425
end

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ DEPENDENCIES
116116
jekyll
117117
logger
118118
ostruct
119+
rubocop
119120
rubocop-jekyll
120121
tzinfo (>= 1, < 3)
121122
tzinfo-data

0 commit comments

Comments
 (0)