All Projects → onk → Onkcop

onk / Onkcop

Licence: mit
OnkCop is a RuboCop configration gem.

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Onkcop

Lint Review
An automated code linting bot that integrates various code lint tools with github pull requests.
Stars: ✭ 279 (+93.75%)
Mutual labels:  rubocop
Rubocop Packaging
A RuboCop extension focused on enforcing upstream best practices and coding conventions.
Stars: ✭ 29 (-79.86%)
Mutual labels:  rubocop
Rubocop Thread safety
Stars: ✭ 78 (-45.83%)
Mutual labels:  rubocop
Rubocop Performance
An extension of RuboCop focused on code performance checks.
Stars: ✭ 340 (+136.11%)
Mutual labels:  rubocop
Rubocop Rspec
Code style checking for RSpec files
Stars: ✭ 603 (+318.75%)
Mutual labels:  rubocop
Policial
Review pull requests for style guide violations
Stars: ✭ 36 (-75%)
Mutual labels:  rubocop
rubocop-i18n
RuboCop rules for detecting and autocorrecting undecorated strings for i18n (gettext and rails-i18n)
Stars: ✭ 32 (-77.78%)
Mutual labels:  rubocop
Ruby Style Guide
Shopify’s Ruby Style Guide
Stars: ✭ 127 (-11.81%)
Mutual labels:  rubocop
Rails Style Guide
A community-driven Ruby on Rails style guide
Stars: ✭ 6,178 (+4190.28%)
Mutual labels:  rubocop
Pronto Rubocop
Pronto runner for Rubocop, ruby code analyzer
Stars: ✭ 62 (-56.94%)
Mutual labels:  rubocop
Ruby Style Guide
📘 Russian Version: A community-driven Ruby coding style guide.
Stars: ✭ 358 (+148.61%)
Mutual labels:  rubocop
Rubocop Github
Code style checking for GitHub Ruby repositories
Stars: ✭ 559 (+288.19%)
Mutual labels:  rubocop
Meowcop
A RuboCop configuration focusing Lint. Recommended by Sider
Stars: ✭ 51 (-64.58%)
Mutual labels:  rubocop
Ruby Style Guide
A community-driven Ruby coding style guide
Stars: ✭ 15,836 (+10897.22%)
Mutual labels:  rubocop
Cookstyle
A linting tool that helps you to write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, and logic mistakes in your code.
Stars: ✭ 95 (-34.03%)
Mutual labels:  rubocop
Vim Rubocop
The Vim RuboCop plugin runs RuboCop and displays the results in Vim
Stars: ✭ 262 (+81.94%)
Mutual labels:  rubocop
Rubocop Rake
A RuboCop plugin for Rake
Stars: ✭ 32 (-77.78%)
Mutual labels:  rubocop
Igcommit
Git pre-receive hook to check commits and code style
Stars: ✭ 135 (-6.25%)
Mutual labels:  rubocop
Rubocop Rails config
RuboCop configuration which has the same code style checking as official Ruby on Rails.
Stars: ✭ 106 (-26.39%)
Mutual labels:  rubocop
Ama
"Ask Me Anything" with Rails 5.2 Application
Stars: ✭ 61 (-57.64%)
Mutual labels:  rubocop

onkcop

Gem Version Build Status

OnkCop is a RuboCop configration gem.

rubocop のしつけ方 - onk.ninja

Deprecated

onkcop basically ended with rubocop v0.53.0 in 2018. I'm not thinking about the acceptance of new cops. (Maintenance work will continue.)

Usage

Setup .rubocop.yml

bundle exec onkcop init

init generate the following directive to your .rubocop.yml:

inherit_gem:
  onkcop:
    - "config/rubocop.yml"
    # uncomment if use rails cops
    # - "config/rails.yml"
    # uncomment if use rspec cops
    # - "config/rspec.yml"

AllCops:
  TargetRubyVersion: 2.5
bundle exec rubocop <options...>

Installation

Add this line to your application's Gemfile:

group :development do
  gem "onkcop", require: false
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/onk/onkcop.

License

The gem is available as open source under the terms of the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].