Closed giann closed 5 years ago
Hi @giann! You could give PR #55 a try!
Closing due to lack of interaction. A new version of this plugin has shipped right now anyway.
Please reopen if you want to.
I think this one occurs when your file name and class name don't equal.
Example
app/models/design.rb
Class DesignAja < ApplicationRecord
end
As you see, DesignAja
is not equal design.rb
We must fix it to
Class Design < ApplicationRecord
I get the following error (note that I don't have a .rubocop.yml):
-s/--stdin requires exactly one path, relative to the root of the project. RuboCop will use this path to determine which cops are enabled (via eg. Include/Exclude), and so that certain cops like Naming/FileName can be checked.