diff options
author | Luke Karrys <luke@lukekarrys.com> | 2022-03-29 01:55:02 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-03-30 00:51:53 +0300 |
commit | aac01b89caf6336a2eb34d696296303cdadd5c08 (patch) | |
tree | c322cc32001ab169bd2e9e335ba7e4a45f31b4aa /.eslintrc.js | |
parent | b48a2bfde3745fa21ea4fc18d6f562fd82f82545 (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.js')
-rw-r--r-- | .eslintrc.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..1718f033c --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,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, + ], +} |