0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

ESLint: enable new-cap rule but ignore properties (#32036)

This commit is contained in:
XhmikosR 2020-11-01 16:31:11 +02:00
parent ecf7db731f
commit 3063d74b86

View File

@ -21,7 +21,12 @@
"warn",
5
],
"new-cap": "off",
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"no-mixed-operators": "off",
"no-negated-condition": "off",