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:
authorLuke Karrys <luke@lukekarrys.com>2022-03-29 01:55:02 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-03-30 00:51:53 +0300
commitaac01b89caf6336a2eb34d696296303cdadd5c08 (patch)
treec322cc32001ab169bd2e9e335ba7e4a45f31b4aa /.eslintrc.local.json
parentb48a2bfde3745fa21ea4fc18d6f562fd82f82545 (diff)
deps: @npmcli/template-oss@3.2.1
- `no-shadow` was disabled for the cli and arborist due to the amount of changes required. These should be fixed later. - Manually updated linting in the cli root to match closer to what template-oss does - Included docs to be managed with template-oss. This required adding an empty test for now, with the plan to add real tests later.
Diffstat (limited to '.eslintrc.local.json')
-rw-r--r--.eslintrc.local.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/.eslintrc.local.json b/.eslintrc.local.json
new file mode 100644
index 000000000..16c85e07d
--- /dev/null
+++ b/.eslintrc.local.json
@@ -0,0 +1,21 @@
+{
+ "ignorePatterns": [
+ "docs/",
+ "workspaces/*"
+ ],
+ "rules": {
+ "no-shadow": "off",
+ "no-console": "error"
+ },
+ "overrides": [{
+ "files": [
+ "scripts/**",
+ "smoke-tests/**",
+ "bin/**",
+ "test/**"
+ ],
+ "rules": {
+ "no-console": "off"
+ }
+ }]
+}