Skip to content

Commit

Permalink
ESLint: enable new-cap rule but ignore properties (twbs#32036)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 5, 2020
1 parent ecf7db7 commit 3063d74
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc.json
Expand Up @@ -21,7 +21,12 @@
"warn",
5
],
"new-cap": "off",
"new-cap": [
"error",
{
"properties": false
}
],
"no-console": "error",
"no-mixed-operators": "off",
"no-negated-condition": "off",
Expand Down

0 comments on commit 3063d74

Please sign in to comment.