diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-11-01 17:31:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 17:31:11 +0300 |
commit | e0b8fcdf899aa1c25fe2ddf050452f7451ed0cdd (patch) | |
tree | d1f9a5ec446f07a923255e719533750687fa7d90 /.eslintrc.json | |
parent | 59692ce8621f91f5b495221d24cc471e7a83abf4 (diff) |
ESLint: enable new-cap rule but ignore properties (#32036)
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 59fe70f564..4c49fd0b1d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -25,7 +25,12 @@ "error", "always-multiline" ], - "new-cap": "off", + "new-cap": [ + "error", + { + "properties": false + } + ], "no-console": "error", "object-curly-spacing": [ "error", |