rubocop
Here are 286 public repositories matching this topic...
I'm seeing double/instance_double/class_double/object_double/spy etc. being called with sometimes a string, sometimes a symbol (perhaps because the rspec-mocks documentation explicitly allows both), and of course sometimes a constant referring to a class or module.
I think mixing string and symbol arguments is a bit of a mess, so I would propose making a new cop that enforces either one or the
-
Updated
Feb 20, 2022 - Ruby
-
Updated
Feb 12, 2022 - Ruby
-
Updated
Feb 11, 2022 - Ruby
-
Updated
Oct 29, 2020 - Vim script
-
Updated
Dec 1, 2021 - Python
It should route you bake to the badge creation page
Hey guys not sure if this is still maintained, for some reason running rubocop -a is throwing several
GraphQL/ExtractInputType errors inside of an input type object
example of the error:
app/graphql/types/public/program_application_attributes.rb:11:7: C: GraphQL/ExtractInputType: Consider moving arguments to a new input type
argument :company_size, String, required: false, descri
-
Updated
Feb 18, 2022 - Ruby
-
Updated
Feb 7, 2022 - Ruby
-
Updated
Sep 12, 2020 - Ruby
-
Updated
Feb 11, 2022 - Shell
-
Updated
Feb 12, 2022 - Ruby
-
Updated
Aug 9, 2021 - Ruby
-
Updated
Dec 14, 2021 - Ruby
-
Updated
Aug 2, 2021 - Ruby
Add more tests
-
Updated
May 13, 2021 - Ruby
Improve this page
Add a description, image, and links to the rubocop topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the rubocop topic, visit your repo's landing page and select "manage topics."
Both
autocorrectandauto-correctare used frequently in RuboCop. Should we be consistent? If so, which one?Any change should only affect comments and other string content, not method names.