aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-01 16:31:11 +0200
committerGitHub <[email protected]>2020-11-01 16:31:11 +0200
commite0b8fcdf899aa1c25fe2ddf050452f7451ed0cdd (patch)
treed1f9a5ec446f07a923255e719533750687fa7d90 /.eslintrc.json
parent59692ce8621f91f5b495221d24cc471e7a83abf4 (diff)
downloadbootstrap-e0b8fcdf899aa1c25fe2ddf050452f7451ed0cdd.tar.xz
bootstrap-e0b8fcdf899aa1c25fe2ddf050452f7451ed0cdd.zip
ESLint: enable new-cap rule but ignore properties (#32036)
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 59fe70f56..4c49fd0b1 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",