lib/rubocop/extension/generator/generator.rb in rubocop-extension-generator-0.2.0 vs lib/rubocop/extension/generator/generator.rb in rubocop-extension-generator-0.2.1

- old
+ new

@@ -77,9 +77,15 @@ --format documentation --color --require spec_helper TEXT + put '.rubocop.yml', <<~YML + Naming/FileName: + Exclude: + - lib/#{name}.rb + YML + patch "lib/#{dirname}.rb", /^ end\nend/, <<~RUBY PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze CONFIG = YAML.safe_load(CONFIG_DEFAULT.read).freeze