Skip to content

Commit

Permalink
Switching from Rubocop to StandardRB, deprecating CodeClimate
Browse files Browse the repository at this point in the history
  • Loading branch information
kpumuk committed Nov 26, 2022
1 parent d08c16d commit 3db5862
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
11 changes: 3 additions & 8 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@ plugins:
enabled: true
config:
languages:
- ruby
- ruby

fixme:
enabled: true

rubocop:
enabled: true
# Check https://github.com/codeclimate/codeclimate-rubocop/branches/all?query=channel%2Frubocop
channel: rubocop-1-35-1

exclude_patterns:
- spec/**/*
- certs/**/*
- spec/**/*
- certs/**/*
5 changes: 2 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ unless ENV["NO_STEEP"] == "1"
end

group :test do
# Lock rubocop to a specific version we use on CI. If you update this,
# don't forget to switch rubocop channel in the .codeclimate.yml
gem "rubocop", "= 1.35.1"
# Ruby Style Guide, with linter & automatic code fixer
gem "standard"
# Cops for rails apps
gem "rubocop-rails"
# Cops for rake tasks
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![CircleCI](https://circleci.com/gh/kpumuk/meta-tags.svg?style=shield)](https://circleci.com/gh/kpumuk/meta-tags)
[![Gem Version](https://badge.fury.io/rb/meta-tags.svg)](https://badge.fury.io/rb/meta-tags)
[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
[![Code Climate](https://codeclimate.com/github/kpumuk/meta-tags/badges/gpa.svg)](https://codeclimate.com/github/kpumuk/meta-tags)
[![Test Coverage](https://codeclimate.com/github/kpumuk/meta-tags/badges/coverage.svg)](https://codeclimate.com/github/kpumuk/meta-tags/coverage)
[![Gem Downloads](https://img.shields.io/gem/dt/meta-tags.svg)](https://badge.fury.io/rb/meta-tags)
Expand Down
2 changes: 1 addition & 1 deletion meta-tags.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.11.0"
spec.add_development_dependency "rspec-html-matchers", "~> 0.10.0"
spec.add_development_dependency "standard", "~> 1.16.1"
spec.add_development_dependency "standard", "~> 1.18.1"

spec.cert_chain = ["certs/kpumuk.pem"]
spec.signing_key = File.expand_path("~/.ssh/gem-kpumuk.pem") if $PROGRAM_NAME.end_with?("gem")
Expand Down

0 comments on commit 3db5862

Please sign in to comment.