mirror of
https://github.com/jsmorabito/obsidian-commander.git
synced 2026-07-22 06:40:31 +00:00
lint: defer depend/ban-dependencies for package.json build tooling
Scope off depend/ban-dependencies for package.json specifically (JSON has no comment syntax, so an inline eslint-disable isn't possible here). builtin-modules/node-fetch/npm-run-all are dev-only build tooling with replacement risk and no end-user impact; tracked as a follow-up rather than swapped in this branch.
This commit is contained in:
parent
3555762598
commit
b3b2f7088a
1 changed files with 12 additions and 0 deletions
|
|
@ -74,4 +74,16 @@ export default defineConfig(
|
|||
'obsidianmd/prefer-create-el': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['package.json'],
|
||||
rules: {
|
||||
// builtin-modules, node-fetch, and npm-run-all are flagged as
|
||||
// having more modern replacements. They're dev-only build
|
||||
// tooling (used from scripts/, never bundled into main.js), so
|
||||
// swapping them carries build-breakage risk for no end-user
|
||||
// benefit. Deferred to a dedicated follow-up rather than bundled
|
||||
// into this lint-cleanup branch.
|
||||
'depend/ban-dependencies': 'off',
|
||||
},
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue