mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-26 11:53:59 +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",
|
"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 a new issue