rubocop-extension-generator
rubocop-extension-generator copied to clipboard
Support nested config requires
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.