Project

dvla-lint

0.0
The project is in a healthy, maintained state
The standard Rubocop rules for the DVLA
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 0.12
~> 13.0
~> 3.0

Runtime

 Project Readme

DVLA::Lint

This Gem contains the official DVLA Ruby linting rules for all of the Agency's Ruby-based work. It's a fork of the GDS rules contained in GOVUK-Lint (as of commit 0d2d442 ) repackaged without with Sass or CLI components and updated to DVLA's house style.

Installation

Add this line to your application's Gemfile:

gem 'dvla-lint", "~> <major_version>.<minor_version>'

And then execute:

bundle

Or install it yourself as:

gem install dvla-lint

Usage

With the gem added to your Gemfile and installed, execute this to install the default DVLA Rubocop configuration in your current directory:

bundle exec dvla-lint init