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