Showing 150 of 150 total issues
Unused method argument - opts
. If it's necessary, use _
or _opts
as an argument name to indicate that it won't be used. Open
Open
def self.find_first_by_auth_conditions conditions, opts = {}
- Read upRead up
- Exclude checks
This cop checks for unused method arguments.
Example:
# bad
def some_method(used, unused, _unused_but_allowed)
puts used
end
Example:
# good
def some_method(used, _unused, _unused_but_allowed)
puts used
end
Element (div.content) is overqualified, just use .content without element name. Open
Open
div.content {
- Exclude checks
Possible remote code execution vulnerability in Action Pack Open
Open
actionpack (4.2.5)
- Read upRead up
- Exclude checks
Advisory: CVE-2016-2098
Criticality: High
URL: https://groups.google.com/forum/#!topic/rubyonrails-security/ly-IH-fxr_Q
Solution: upgrade to ~> 3.2.22.2, >= 4.2.5.2, ~> 4.2.5, >= 4.1.14.2, ~> 4.1.14
Possible Information Leak Vulnerability in Action View Open
Open
actionview (4.2.5)
- Read upRead up
- Exclude checks
Advisory: CVE-2016-0752
Criticality: High
URL: https://groups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG00
Solution: upgrade to >= 5.0.0.beta1.1, >= 4.2.5.1, ~> 4.2.5, >= 4.1.14.1, ~> 4.1.14
Use of !important Open
Open
background-color: #0A2A35 !important;
- Exclude checks
Use of !important Open
Open
margin-bottom: 0 !important;
- Exclude checks
Fallback background-color (hex or RGB) should precede RGBA background-color. Open
Open
background-color: rgba(255, 151, 51, 0.38);
- Exclude checks
Use of !important Open
Open
display: inline-block !important;
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.event-card-heading {
- Exclude checks
Use of !important Open
Open
text-align: center !important;
- Exclude checks
Use of !important Open
Open
height: 215px !important;
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
.shift-information {
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
md-icon {
- Exclude checks
Use of !important Open
Open
color: rgba(255, 255, 255, 0.65) !important;
- Exclude checks
Use of !important Open
Open
color: black !important;
- Exclude checks
Timing attack vulnerability in basic authentication in Action Controller. Open
Open
actionpack (4.2.5)
- Read upRead up
- Exclude checks
Advisory: CVE-2015-7576
Criticality: Low
URL: https://groups.google.com/forum/#!topic/rubyonrails-security/ANv0HDHEC3k
Solution: upgrade to >= 5.0.0.beta1.1, >= 4.2.5.1, ~> 4.2.5, >= 4.1.14.1, ~> 4.1.14, ~> 3.2.22.1
Use of !important Open
Open
background-color: #0A2A35 !important;
- Exclude checks
Rule doesn't have all its properties in alphabetical order. Open
Open
md-card {
- Exclude checks
Fallback color (hex or RGB) should precede RGBA color. Open
Open
color: rgba(255, 255, 255, 0.65) !important;
- Exclude checks
Use of !important Open
Open
height: 50px !important;
- Exclude checks