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:
Diffstat (limited to 'mock-registry/.eslintrc.js')
-rw-r--r--mock-registry/.eslintrc.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/mock-registry/.eslintrc.js b/mock-registry/.eslintrc.js
new file mode 100644
index 000000000..5db9f8155
--- /dev/null
+++ b/mock-registry/.eslintrc.js
@@ -0,0 +1,17 @@
+/* This file is automatically added by @npmcli/template-oss. Do not edit. */
+
+'use strict'
+
+const { readdirSync: readdir } = require('fs')
+
+const localConfigs = readdir(__dirname)
+ .filter((file) => file.startsWith('.eslintrc.local.'))
+ .map((file) => `./${file}`)
+
+module.exports = {
+ root: true,
+ extends: [
+ '@npmcli',
+ ...localConfigs,
+ ],
+}