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

.eslintrc.js - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1718f033c412292646d2804d9da96e5fdc22d1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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,
  ],
}