Sha256: ab87e7fd1991a9ffa55f993baecbb92854be06e42c5e3920cb43e14108287823

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

RuboCop RSpec
=============

[![Gem Version](https://badge.fury.io/rb/rubocop-rspec.png)](https://rubygems.org/gems/rubocop-rspec)
[![Dependency Status](https://gemnasium.com/nevir/rubocop-rspec.png)](https://gemnasium.com/nevir/rubocop-rspec)
[![Build Status](https://secure.travis-ci.org/nevir/rubocop-rspec.png?branch=master)](http://travis-ci.org/nevir/rubocop-rspec)
[![Coverage Status](https://coveralls.io/repos/nevir/rubocop-rspec/badge.png?branch=master)](https://coveralls.io/r/nevir/rubocop-rspec)
[![Code Climate](https://codeclimate.com/github/nevir/rubocop-rspec.png)](https://codeclimate.com/github/nevir/rubocop-rspec)

RSpec-specific analysis for your projects, as an extension to
[RuboCop](https://github.com/bbatsov/rubocop).


Usage
-----

Add it to your bundle, or environment, and then you can load it via:

```bash
rubocop --require rubocop-rspec
```

or as part of your rubocop rake task:

```ruby
Rubocop::RakeTask.new(:style) do |task|
  task.requires << 'rubocop-rspec'
end
```


The Cops
--------

**WARNING: Cop names are under flux and will likely change in the near future.**
We're hoping to [introduce namespaces](bbatsov/rubocop#1097) into the mix.

All cops are located under [`lib/rubocop/cop`](lib/rubocop/cop), and contain
examples/documentation.

In your `.rubocop.yml`, you may treat the RSpec cops just like any other cop.
For example:

```yaml
RSpecFileName:
  Exclude:
  - spec/my_poorly_named_spec_file.rb
```


License
-------

`rubocop-rspec` is MIT licensed. [See the accompanying file](MIT-LICENSE.md) for
the full text.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubocop-rspec-1.0.rc1 README.md