fixing rubocop config to remove github references
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
require: rubocop/cop/github
|
||||
|
||||
AllCops:
|
||||
DisabledByDefault: true
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user