Skip to content

Commit

Permalink
Close #109 Replace no-negated-in-lhs with no-unsafe-negation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansobol committed Aug 27, 2016
1 parent 99f5938 commit 523115f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@ All changes to this project are documented in this file. This project adheres to

### Changed
- Replace `no-native-reassign` with `no-global-assign`
- Replace `no-negated-in-lhs` with `no-unsafe-negation`

### Removed
- Remove support for Node v5
Expand Down
6 changes: 3 additions & 3 deletions rules/possible-errors.js
Expand Up @@ -59,9 +59,6 @@ module.exports = {
// Disallow irregular whitespace outside of strings and comments
'no-irregular-whitespace': 2,

// Disallow negation of the left operand of an in expression
'no-negated-in-lhs': 2,

// Disallow the use of object properties of the global object (Math and JSON)
// as functions
'no-obj-calls': 2,
Expand All @@ -85,6 +82,9 @@ module.exports = {
// Disallow control flow statements in finally blocks
'no-unsafe-finally': 2,

// Disallow negating the left operand of relational operators
'no-unsafe-negation': 2,

// Disallow comparisons with the value NaN
'use-isnan': 2,

Expand Down

0 comments on commit 523115f

Please sign in to comment.