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

.eslintrc.js « libnpmorg « workspaces - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0e8ad007113cdb601f5628d95fd0890c02000a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* This file is automatically added by @npmcli/template-oss. Do not edit. */

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,
  ],
}