Commit 318c8032 authored by Robin Ricard's avatar Robin Ricard Committed by Dan Abramov
Browse files

Deactivate the `new-cap` rule in ESLint (#470)

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.
parent b93e6c0b
Showing with 0 additions and 1 deletion
+0 -1
...@@ -62,7 +62,6 @@ module.exports = { ...@@ -62,7 +62,6 @@ module.exports = {
'dot-location': ['warn', 'property'], 'dot-location': ['warn', 'property'],
eqeqeq: ['warn', 'allow-null'], eqeqeq: ['warn', 'allow-null'],
'guard-for-in': 'warn', 'guard-for-in': 'warn',
'new-cap': ['warn', { newIsCap: true }],
'new-parens': 'warn', 'new-parens': 'warn',
'no-array-constructor': 'warn', 'no-array-constructor': 'warn',
'no-caller': 'warn', 'no-caller': 'warn',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment