pderichs / sublime_rubocop

A Sublime Text RuboCop plugin.
238 stars 41 forks source link

rubocop_auto_correct seems incompatible with require (in .rubocop.yml) #66

Open amazing-jay opened 3 years ago

amazing-jay commented 3 years ago
Please add some general information about your environment:
Steps to reproduce:

Add this to your Sublime User Key Bindings (preferences) { "keys": ["super+shift+s"], "command": "rubocop_auto_correct" }

Works correctly if project .rubocop.yml file doesn't require any extensions; fails silently otherwise. e.g. this .rubocop.yml file fails:

require:
  - rubocop-performance

but it works as soon as you comment out the value:

require:
#  - rubocop-performance