-
Couldn't load subscription status.
- Fork 3
try warning #1
New issue
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
base: master
Are you sure you want to change the base?
try warning #1
Conversation
a8583fd to
099ad37
Compare
37b6be8 to
1cfea66
Compare
| end | ||
|
|
||
| # Test Rubocop warning (Naming/PredicateName) | ||
| def has_title |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naming/PredicateName: Rename has_title to title?. (https://github.com/rubocop-hq/ruby-style-guide#bool-methods-qmark) |
| end | ||
|
|
||
| # Test reek warning (TooManyStatements) | ||
| def too_many |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Metrics/MethodLength: Method has too many lines. [13/10] (https://github.com/rubocop-hq/ruby-style-guide#short-methods) |
1cfea66 to
122f707
Compare
| end | ||
|
|
||
| # Test Rails Best Practices warning (remove unused methods) | ||
| def unused_method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| remove unused methods (Article#unused_method) |
| end | ||
|
|
||
| # Test reek warning (TooManyStatements) | ||
| def too_many |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| has approx 13 statements |
122f707 to
33b3874
Compare
| import '../stylesheets/application.css'; | ||
|
|
||
| console.log('Hello World from Webpacker'); | ||
| console.log('Hello World from Webpacker') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Missing semicolon. (semi) |
| @@ -1,3 +1,3 @@ | |||
| body { | |||
| color: red; | |||
| color: red; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Expected indentation of 2 spaces (indentation) |
No description provided.