diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-05-30 01:22:51 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-05-30 01:30:22 +0300 |
commit | 3e11b7e6b3aafec07f1a8d5c8685826628ae216a (patch) | |
tree | d334fcd54f597082fc6d128bb6132baa248519e6 /.eslintrc.json | |
parent | e03eb1b50cc496807cc9e97f6c00ee823ab40c17 (diff) |
Require constructor names to begin with a capital letter
Turns new-cap ESLint to error
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 1f5582c21c..efe793be93 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,7 +14,7 @@ "eqeqeq": "error", "indent": ["error", 4], "keyword-spacing": "error", - "new-cap": "warn", + "new-cap": "error", "no-array-constructor": "error", "no-eval": "error", "no-loop-func": "error", |