diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -72,7 +72,7 @@ - [ ] "max-statements-per-line" - [ ] "multiline-comment-style" - [ ] "multiline-ternary" -- [ ] "new-cap" +- [X] "new-cap" - [ ] "new-parens" - [X] "newline-after-var" - [X] "newline-before-return" diff --git a/src/rules/default.json b/src/rules/default.json index f8b704d..ee9a2f6 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -89,6 +89,14 @@ "lines-around-directive": [ "off" ], + "new-cap": [ + "error", + { + "capIsNew": true, + "newIsCap": true, + "properties": false + } + ], "newline-after-var": [ "off" ], |