We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test.rb
class Foo # [String] Some bar value return attr_reader :bar # @return [String] value of foo_bar attr_reader :foo_bar end
rubocop -a
Style/AccessorGrouping
Do not mess up my comments and yard documentation
yard
Result file is:
class Foo # [String] Some bar value return attr_reader :bar, :foo_bar # @return [String] value of foo_bar end
Include the output of rubocop -V or bundle exec rubocop -V if using Bundler. Here's an example:
rubocop -V
bundle exec rubocop -V
$ [bundle exec] rubocop -V 0.87.1 (using Parser 2.7.1.4, rubocop-ast 0.1.0, running on ruby 2.7.1 x86_64-linux)
The text was updated successfully, but these errors were encountered:
Good catch! We should consider this a bug and not raise an offense in this case.
Sorry, something went wrong.
Fix Style/AccessorGrouping to not register offense for accessor wit…
6eb897c
…h comment Closes rubocop#8289
Successfully merging a pull request may close this issue.
Steps to reproduce the problem
test.rb
file with content:rubocop -a
with enabledStyle/AccessorGrouping
copExpected behavior
Do not mess up my comments and
yard
documentationActual behavior
Result file is:
RuboCop version
Include the output of
rubocop -V
orbundle exec rubocop -V
if using Bundler. Here's an example:The text was updated successfully, but these errors were encountered: