mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-17 05:00:24 +00:00
ESLint: enable new-cap rule but ignore properties (#32036)
This commit is contained in:
parent
59692ce862
commit
e0b8fcdf89
1 changed files with 6 additions and 1 deletions
|
|
@ -25,7 +25,12 @@
|
|||
"error",
|
||||
"always-multiline"
|
||||
],
|
||||
"new-cap": "off",
|
||||
"new-cap": [
|
||||
"error",
|
||||
{
|
||||
"properties": false
|
||||
}
|
||||
],
|
||||
"no-console": "error",
|
||||
"object-curly-spacing": [
|
||||
"error",
|
||||
|
|
|
|||
Loading…
Reference in a new issue