npm/workspaces/libnpmaccess/.eslintrc.js

18 lines
357 B
JavaScript
Raw Permalink Normal View History

2024-05-07 14:59:55 +08:00
/* This file is automatically added by @npmcli/template-oss. Do not edit. */
'use strict'
2023-02-16 14:45:21 +08:00
const { readdirSync: readdir } = require('fs')
const localConfigs = readdir(__dirname)
.filter((file) => file.startsWith('.eslintrc.local.'))
.map((file) => `./${file}`)
module.exports = {
2024-05-07 14:59:55 +08:00
root: true,
2023-02-16 14:45:21 +08:00
extends: [
'@npmcli',
...localConfigs,
],
}