Skip to content

Commit

Permalink
ESLint: enable new-cap rule but ignore properties (#32036)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 1, 2020
1 parent 59692ce commit e0b8fcd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@
"error",
"always-multiline"
],
"new-cap": "off",
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"object-curly-spacing": [
"error",
Expand Down

0 comments on commit e0b8fcd

Please sign in to comment.