Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-05-30 01:22:51 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-05-30 01:30:22 +0300
commit3e11b7e6b3aafec07f1a8d5c8685826628ae216a (patch)
treed334fcd54f597082fc6d128bb6132baa248519e6 /.eslintrc.json
parente03eb1b50cc496807cc9e97f6c00ee823ab40c17 (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.json2
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",