aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml2
-rw-r--r--.rubocop.yml13
2 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 277577c..0319d98 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,7 +55,7 @@ jobs:
- name: "Run tests"
run: bundle exec rake
- - name: "Produce tarball"
+ - name: "Create tarball"
run: tar czvf site.tar.gz _site
- name: "Upload tarball"
diff --git a/.rubocop.yml b/.rubocop.yml
index 3d4067a..f750353 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,7 +1,3 @@
-require:
- - rubocop-performance
- - rubocop-rake
-
AllCops:
TargetRubyVersion: 3.0
@@ -12,6 +8,11 @@ AllCops:
Exclude:
- './_site/**/*'
+ - vendor/**/*
+
+require:
+ - rubocop-performance
+ - rubocop-rake
Layout/HashAlignment:
EnforcedHashRocketStyle: table
@@ -23,10 +24,6 @@ Metrics/AbcSize:
Metrics/MethodLength:
Max: 20
-# This forces us to create a new object for no real reason.
-Style/MultipleComparison:
- Enabled: false
-
# It's actually quite cool to spell my own name correctly...
Style/AsciiComments:
Enabled: false