Skip to content

Commit

Permalink
Add .simplecov to rubocop default include list
Browse files Browse the repository at this point in the history
This list looks fairly comprehensive, so lets add
.simplecov the ruby config file for simplecov gem

https://github.com/colszowka/simplecov#using-simplecov-for-centralized-config
  • Loading branch information
robotdana committed Apr 20, 2020
1 parent 1de14f6 commit 16bf7b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .simplecov
@@ -1,3 +1,5 @@
# frozen_string_literal: true

SimpleCov.start do
add_filter '/spec/'
add_filter '/vendor/bundle/'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,10 @@

## master (unreleased)

### New features

* [#7895](https://github.com/rubocop-hq/rubocop/pull/7895): Include `.simplecov` file by default. ([@robotdana][])

### Bug fixes

* [#7882](https://github.com/rubocop-hq/rubocop/pull/7882): Fix `Style/CaseEquality` when `AllowOnConstant` is `true` and the method receiver is implicit. ([@rafaelfranca][])
Expand Down
1 change: 1 addition & 0 deletions config/default.yml
Expand Up @@ -35,6 +35,7 @@ AllCops:
- '**/*.watchr'
- '**/.irbrc'
- '**/.pryrc'
- '**/.simplecov'
- '**/buildfile'
- '**/Appraisals'
- '**/Berksfile'
Expand Down
1 change: 1 addition & 0 deletions spec/rubocop/target_finder_spec.rb
Expand Up @@ -36,6 +36,7 @@

RUBY_FILENAMES = %w[.irbrc
.pryrc
.simplecov
Appraisals
Berksfile
Brewfile
Expand Down

0 comments on commit 16bf7b2

Please sign in to comment.