]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
ESLint: enable new-cap rule but ignore properties (#32036)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 1 Nov 2020 14:31:11 +0000 (16:31 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Nov 2020 14:31:11 +0000 (16:31 +0200)
.eslintrc.json

index 59fe70f56405a7ad560aaf8bf3bb6b99a6f3a57e..4c49fd0b1deecd471f5024694f1e85f3b996c551 100644 (file)
       "error",
       "always-multiline"
     ],
-    "new-cap": "off",
+    "new-cap": [
+      "error",
+      {
+        "properties": false
+      }
+    ],
     "no-console": "error",
     "object-curly-spacing": [
       "error",