Add JavaScript rule for comparisons
Using `==` and `!=` sometimes causes unexpected behaviour in JavaScript, and it's easy for Ruby developers to use them incorrectly.
This commit is contained in:
@@ -20,6 +20,10 @@ rules:
|
||||
computed-property-spacing: error
|
||||
curly: error
|
||||
eol-last: error
|
||||
eqeqeq:
|
||||
- error
|
||||
- always
|
||||
- "null": ignore
|
||||
func-call-spacing: error
|
||||
indent:
|
||||
- error
|
||||
|
||||
Reference in New Issue
Block a user