mirror of https://github.com/twbs/bootstrap.git
ESLint: enable new-cap rule but ignore properties (#32036)
This commit is contained in:
parent
59692ce862
commit
e0b8fcdf89
|
@ -25,7 +25,12 @@
|
||||||
"error",
|
"error",
|
||||||
"always-multiline"
|
"always-multiline"
|
||||||
],
|
],
|
||||||
"new-cap": "off",
|
"new-cap": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"properties": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-console": "error",
|
"no-console": "error",
|
||||||
"object-curly-spacing": [
|
"object-curly-spacing": [
|
||||||
"error",
|
"error",
|
||||||
|
|
Loading…
Reference in New Issue