Fix capitalization of constructors

Enforce new-cap rule and fix capitalization and mistakes related to
constructors.
This commit is contained in:
Hornwitser committed 2020-10-23 21:22:45 +02:00
1 parent 00a1f6aea7
commit 8586dfb95f
10 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ module.exports = {
"max-statements-per-line": "off",
"multiline-comment-style": ["warn", "separate-lines"],
"multiline-ternary": "off",
"new-cap": "warn",
"new-cap": "error",
"new-parens": "error",
"newline-after-var": "off",
"newline-before-return": "off",