Skip to content

Commit

Permalink
Deactivate the new-cap rule in ESLint (#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 #465 for more information about this.
  • Loading branch information
rricard authored and gaearon committed Aug 22, 2016
1 parent b93e6c0 commit 318c803
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 318c803

Please sign in to comment.