Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

.rubocop.yml exclude doesn't work. #227

Open
@ghost

Description

Your environment

  • vscode-ruby version: 0.15.0
  • Ruby version: ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
  • VS Code version: 1.18.1 and 1.19.0-insider
  • Operating System: Windows 10 latest

Expected behavior

.rubocop.yml like this should work:

AllCops:
  Exclude:
    - 'db/**'
    - '**/Gemfile'
  TargetRubyVersion: 2.4

Actual behavior

db/schema.rb and Gemfile being rubocopped.

Via rubocop db it works. So, it's a bug?

Metadata

Metadata

Assignees

Labels

bugBug reports

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions