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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-11-17 04:56:54 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-11-17 22:38:18 +0300
commitb1d850960fda95650cd828a7bd8586648d9e2672 (patch)
tree2f9f436ccdf8b97bcaa87a5e0d236c33068d9444 /.eslintrc.json
parentde82b6257d6cb81809be8f9e290d4962929e0c25 (diff)
lint tests before publishing
We have a lot of tests that were not handling errors in callbacks, not defining variables, defining variables that weren't used, and just generally not formatted like the rest of npm. Hazard of moving fast. Thankfully, machines can help.
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 6232a8f82..139716eef 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -133,7 +133,7 @@
"no-shadow-restricted-names": "error",
"no-sparse-arrays": "error",
"no-tabs": "error",
- "no-template-curly-in-string": "error",
+ "no-template-curly-in-string": "off",
"no-this-before-super": "error",
"no-throw-literal": "off",
"no-trailing-spaces": "error",