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 George Czabania committed Sep 7, 2016
1 parent ef833f7 commit 817a406
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 817a406

Please sign in to comment.