rubocop-extension-generator icon indicating copy to clipboard operation
rubocop-extension-generator copied to clipboard

Support nested config requires

Open joshpencheon opened this issue 5 years ago • 0 comments

Passing the extension's config through ConfigLoader.load_file, rather than using the private load_yaml_configuration method, ensures that require / inherit_from declarations are handled properly.

By loading the extensions additional Cop definitions prior to loading the config allow extensions to then "dogfood" by using the new cops/behaviours in their own RuboCop config.

joshpencheon avatar Jan 24 '20 17:01 joshpencheon