All Projects → github → Rubocop Github

github / Rubocop Github

Licence: mit
Code style checking for GitHub Ruby repositories

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Rubocop Github

vscode-linter
Extension for code linting, all in one package. New linters can be easily added through an extension framework.
Stars: ✭ 47 (-91.59%)
Mutual labels:  rubocop
ruby3-rails6-bootstrap-heroku
An opinionated starter application based on Ruby 3.0, Rails 6.1, Webpack 5, Yarn, and Bootstrap 5, deployable on Heroku
Stars: ✭ 21 (-96.24%)
Mutual labels:  rubocop
Lint Review
An automated code linting bot that integrates various code lint tools with github pull requests.
Stars: ✭ 279 (-50.09%)
Mutual labels:  rubocop
rubocop-graphql
Rubocop extension for enforcing graphql-ruby best practices
Stars: ✭ 143 (-74.42%)
Mutual labels:  rubocop
action-rubocop
Run rubocop with reviewdog 🐶
Stars: ✭ 83 (-85.15%)
Mutual labels:  rubocop
diffcop
apply rubocop for git diff
Stars: ✭ 19 (-96.6%)
Mutual labels:  rubocop
Expertiza
Expertiza is a web application through which students can submit and peer-review learning objects (articles, code, web sites, etc). The Expertiza project is supported by the National Science Foundation.
Stars: ✭ 160 (-71.38%)
Mutual labels:  rubocop
Ruby Style Guide
📘 Russian Version: A community-driven Ruby coding style guide.
Stars: ✭ 358 (-35.96%)
Mutual labels:  rubocop
jetrockets-standard
Standard RuboCop configuration for JetRockets with cookies
Stars: ✭ 14 (-97.5%)
Mutual labels:  rubocop
Vim Rubocop
The Vim RuboCop plugin runs RuboCop and displays the results in Vim
Stars: ✭ 262 (-53.13%)
Mutual labels:  rubocop
rubocop runner
runs rubocop for changed files, can be used as pre-commit hook
Stars: ✭ 27 (-95.17%)
Mutual labels:  rubocop
souls
SOULs 🔥 Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
Stars: ✭ 327 (-41.5%)
Mutual labels:  rubocop
minitest-style-guide
Best practices for writing your tests
Stars: ✭ 42 (-92.49%)
Mutual labels:  rubocop
rubocop-auto-correct
Auto-correct ruby source code by using rubocop in Atom.
Stars: ✭ 29 (-94.81%)
Mutual labels:  rubocop
Ruby Style Guide
A community-driven Ruby coding style guide
Stars: ✭ 15,836 (+2732.92%)
Mutual labels:  rubocop
rubocop-rails
RuboCop configuration which has the same code style checking as official Ruby on Rails
Stars: ✭ 63 (-88.73%)
Mutual labels:  rubocop
massa
Keep the quality, good practices and security of Rails projects.
Stars: ✭ 61 (-89.09%)
Mutual labels:  rubocop
Rubocop Rails
A RuboCop extension focused on enforcing Rails best practices and coding conventions.
Stars: ✭ 433 (-22.54%)
Mutual labels:  rubocop
Rubocop Performance
An extension of RuboCop focused on code performance checks.
Stars: ✭ 340 (-39.18%)
Mutual labels:  rubocop
rubocop-i18n
RuboCop rules for detecting and autocorrecting undecorated strings for i18n (gettext and rails-i18n)
Stars: ✭ 32 (-94.28%)
Mutual labels:  rubocop

RuboCop GitHub CI

This repository provides recommended RuboCop configuration and additional Cops for use on GitHub open source and internal Ruby projects.

Usage

Rubocop 0.68 removed performance cops and 0.72 removed Rails cops. However, upgrading rubocop-github without modification will almost definitely create very many new offenses. The current version of this gem exposes the "legacy" configuration under config/default.yml and config/rails.yml which should be used if and only if the version of rubocop is locked to < 0.68 in your project (which it should be unless you bundle update rubocop). It also exposes an "edge" configuration under config/default_edge.yml and config/rails_edge.yml so that the changes can be tested without introducing breaking changes.

Legacy usage

Gemfile

gem "rubocop", "< 0.68"
gem "rubocop-github"

.rubocop.yml

inherit_gem:
  rubocop-github:
    - config/default.yml
    - config/rails.yml

Edge usage

Gemfile

gem "rubocop-github"
gem "rubocop-performance", require: false
gem "rubocop-rails", require: false

.rubocop.yml

inherit_gem:
  rubocop-github:
    - config/default_edge.yml
    - config/rails_edge.yml

Testing

bundle install bundle exec rake test

The Cops

All cops are located under lib/rubocop/cop/github, and contain examples/documentation.

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].