🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

rubocop-grape

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rubocop-grape

0.5.0
Rubygems
Version published
Maintainers
1
Created
Source

RuboCop Grape

Actions Status

RuboCop extension for Grape.

Installation

Add this line to your application's Gemfile:

gem 'rubocop-grape'

And then execute:

$ bundle install

Usage

You need to tell RuboCop to load the Grape extension. There are three ways to do this:

RuboCop configuration file

Put this into your .rubocop.yml.

plugins: rubocop-grape

Alternatively, use the following array notation when specifying multiple extensions.

plugins:
  - rubocop-other-extension
  - rubocop-grape

Now you can run rubocop and it will automatically load the RuboCop Grape cops together with the standard cops.

[!NOTE] The plugin system is supported in RuboCop 1.72+. In earlier versions, use require instead of plugins.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kakubin/rubocop-grape.

FAQs

Package last updated on 17 Feb 2025

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