Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

SELFS-1359: Rename Rubocop YAML #95

Merged
merged 6 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
${{ runner.os }}-gems-
- run: bundle config path vendor/bundle
- run: bundle install --jobs 4 --retry 3
- run: bundle exec rubocop --config rubocop.yml
- run: bundle exec rubocop --config panolint-rubocop.yml
- run: bundle exec rspec
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You can use `panolint`'s rubocop configuration in your project with the followin

```
inherit_gem:
panolint: rubocop.yml
panolint: panolint-rubocop.yml
```

Note that it for this gem in particular in needs to not be a `.rubocop.yml` file because of rubocop's [path relativity](https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md#path-relativity).
Expand Down
2 changes: 1 addition & 1 deletion lib/panolint/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Panolint
VERSION = "0.1.3"
VERSION = "0.1.4"
end
2 changes: 1 addition & 1 deletion rubocop.yml → panolint-rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# You can use this in your project's .rubocop.yml with the following at the top:
#
# inherit_gem:
# panolint: rubocop.yml
# panolint: panolint-rubocop.yml
#
# This allows you to selectively override settings in projects, for example, if
# you're working on a Sinatra project, disabling the Rails cops is probably
Expand Down
1 change: 1 addition & 0 deletions panolint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
spec.summary = "Rules for linting code at Panorama Education"
spec.homepage = "https://github.com/panorama-ed/panolint"
spec.license = "MIT"
spec.metadata = { "rubygems_mfa_required" => "true" }

spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
Expand Down