Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rubocop-rubomatic-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubocop-rubomatic-rails

  • 1.5.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= Rubomatic

Gem for shared rails rubocop config and custom rails cops for BrandsInsurance

Put your Ruby code in the file lib/rubocop/rubomatic-rails. To experiment with that code, run bin/console for an interactive prompt.

== Installation

Add this line to your application's Gemfile:

[source,ruby]

gem 'rubocop-rubomatic-rails', require: false

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rubocop-rubomatic-rails

== Usage

Add the following to your .rubocop.yml config file

[source,yaml]

inherit_gem: rubocop-rubomatic-rails: config/rubocop.yml

If you need to override a setting:

[source,yaml]

Add to Naming/VariableNumber.AllowedIdentifiers

inherit_gem: rubocop-rubomatic-rails: config/rubocop.yml

Naming/VariableNumber: inherit_mode: merge: - AllowedIdentifiers AllowedIdentifiers: - street_2

[source,yaml]

Completely override Naming/VariableNumber.AllowedIdentifiers

inherit_gem: rubocop-rubomatic-rails: config/rubocop.yml

Naming/VariableNumber: inherit_mode: override: - AllowedIdentifiers AllowedIdentifiers: - street_2

== Custom Cops

Add RubomaticRails/* cops to your .rubocop.yml config file

[source,yaml]

RubomaticRails/Style/DisallowedMethods: Enabled: true

== Departments

None yet

== Contributing

See xref:./CONTRIBUTING.adoc[CONTRIBUTING] for how to add your own rule

== Changelog

See xref:./CHANGELOG.adoc[CHANGELOG] see see changes

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc