diff --git a/config/rubocop/default.yml b/config/rubocop/default.yml index c2c555b..5b29afe 100644 --- a/config/rubocop/default.yml +++ b/config/rubocop/default.yml @@ -1,5 +1,3 @@ -require: rubocop/cop/github - AllCops: DisabledByDefault: true diff --git a/config/rubocop/rails.yml b/config/rubocop/rails.yml index 975c571..3708fcc 100644 --- a/config/rubocop/rails.yml +++ b/config/rubocop/rails.yml @@ -20,69 +20,6 @@ Rails/ScopeArgs: Rails/UniqBeforePluck: Enabled: true -GitHub/RailsApplicationRecord: - Enabled: true - -GitHub/RailsControllerRenderActionSymbol: - Enabled: true - Include: - - 'app/controllers/**/*.rb' - -GitHub/RailsControllerRenderLiteral: - Enabled: true - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md - Include: - - 'app/controllers/**/*.rb' - -GitHub/RailsControllerRenderPathsExist: - Enabled: true - ViewPath: - - 'app/views' - Include: - - 'app/controllers/**/*.rb' - -GitHub/RailsControllerRenderShorthand: - Enabled: true - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-shorthand.md - Include: - - 'app/controllers/**/*.rb' - -GitHub/RailsRenderInline: - Enabled: true - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-inline.md - Include: - - 'app/controllers/**/*.rb' - - 'app/helpers/**/*.rb' - - 'app/view_models/**/*.rb' - - 'app/views/**/*.erb' - -GitHub/RailsRenderObjectCollection: - Enabled: false - -GitHub/RailsViewRenderLiteral: - Enabled: true - StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md - Include: - - 'app/helpers/**/*.rb' - - 'app/view_models/**/*.rb' - - 'app/views/**/*.erb' - -GitHub/RailsViewRenderPathsExist: - Enabled: true - ViewPath: - - 'app/views' - Include: - - 'app/helpers/**/*.rb' - - 'app/view_models/**/*.rb' - - 'app/views/**/*.erb' - -GitHub/RailsViewRenderShorthand: - Enabled: true - Include: - - 'app/helpers/**/*.rb' - - 'app/view_models/**/*.rb' - - 'app/views/**/*.erb' - # Exclude Rails ERB files from incompatible cops Lint/BlockAlignment: