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

This commit is contained in:
XhmikosR 2020-11-01 16:31:11 +02:00 committed by GitHub
parent 59692ce862
commit e0b8fcdf89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,12 @@
"error",
"always-multiline"
],
"new-cap": "off",
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"object-curly-spacing": [
"error",