mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
ESLint: enable new-cap rule but ignore properties (#32036)
This commit is contained in:
+6
-1
@@ -21,7 +21,12 @@
|
|||||||
"warn",
|
"warn",
|
||||||
5
|
5
|
||||||
],
|
],
|
||||||
"new-cap": "off",
|
"new-cap": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"properties": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-console": "error",
|
"no-console": "error",
|
||||||
"no-mixed-operators": "off",
|
"no-mixed-operators": "off",
|
||||||
"no-negated-condition": "off",
|
"no-negated-condition": "off",
|
||||||
|
|||||||
Reference in New Issue
Block a user