Skip to content

Commit

Permalink
Deactivate the new-cap rule in ESLint (facebook#470)
Browse files Browse the repository at this point in the history
This rule is considered dangerous in certain situations. This is especially true for Immutable.js users. See the discussion at issue facebook#465 for more information about this.
  • Loading branch information
rricard authored and feiqitian committed Oct 25, 2016
1 parent a32afd3 commit 4ad0b42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ module.exports = {
'dot-location': ['warn', 'property'],
eqeqeq: ['warn', 'allow-null'],
'guard-for-in': 'warn',
'new-cap': ['warn', { newIsCap: true }],
'new-parens': 'warn',
'no-array-constructor': 'warn',
'no-caller': 'warn',
Expand Down

0 comments on commit 4ad0b42

Please sign in to comment.