Skip to content

Commit 2166a43

Browse files
fterdalglebec
authored andcommitted
Disables rule requiring that function names start with capital letter (#49)
1 parent b64ebf8 commit 2166a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ module.exports = {
185185
'max-statements-per-line': [1, {max: 2}], // enforce a maximum number of statements allowed per line
186186
'multiline-comment-style': 0, // enforce a particular style for multiline comments
187187
'multiline-ternary': 0, // enforce newlines between operands of ternary expressions
188-
'new-cap': [1, {capIsNewExceptions: ['Express']}], // require constructor `function` names to begin with a capital letter
188+
'new-cap': 0, // require constructor `function` names to begin with a capital letter
189189
'new-parens': 0, // require parentheses when invoking a constructor with no arguments
190190
'newline-per-chained-call': [1, {ignoreChainWithDepth: 3}], // require a newline after each call in a method chain
191191
'no-array-constructor': 1, // disallow `Array` constructors

0 commit comments

Comments
 (0)