Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow rubocop/rubocop#9197. This PR fixes the following build error. ```console % cd path/to/rubocop-rails % bundle exec rspec spec/project_spec.rb (snip) Failures: 1) RuboCop Rails Project default configuration file has a SupportedStyles for all EnforcedStyle and EnforcedStyle is valid Failure/Error: subject(:config) { RuboCop::ConfigLoader.load_file('config/default.yml') } RuboCop::ValidationError: `Rails` cops have been extracted to the `rubocop-rails` gem. (obsolete configuration found in config/default.yml, please update it) # ./spec/project_spec.rb:5:in `block (3 levels) in <top (required)>' # ./spec/project_spec.rb:53:in `block (4 levels) in <top (required)>' # ./spec/project_spec.rb:52:in `each' # ./spec/project_spec.rb:52:in `block (3 levels) in <top (required)>' ```
- Loading branch information