diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2021-07-06 08:51:52 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2021-07-06 08:51:52 +0200 |
| commit | 23c23c9968230fa5f1fa2a6ff5e41f3228da4dc9 (patch) | |
| tree | a26e494e446d52a54fa5d09264c8d263b324fc8e | |
| parent | 6be4bdf6ad92eea3e57ccfaf95672daf43cc1090 (diff) | |
| download | jo.mssola.com-23c23c9968230fa5f1fa2a6ff5e41f3228da4dc9.tar.gz jo.mssola.com-23c23c9968230fa5f1fa2a6ff5e41f3228da4dc9.zip | |
ci: skip the vendor directory for rubocop
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
| -rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
| -rw-r--r-- | .rubocop.yml | 13 |
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 |
