fix(lint): drop missing import/no-extraneous-dependencies rule disable
ai-news-writer-ci / test (pull_request) Successful in 36s

CI lint job has no eslint-plugin-import installed, so the inline
disable-next-line for that rule itself raises an "unknown rule" error
on `tools/seed-smoke-verification-article.js`. Drop the import-related
token from the disable comment and keep only the still-valid
`global-require` disable for the lazy require of `dotenv`. No
behaviour change; the file still tries dotenv and silently continues
without it.

Paperclip-Issue: BIT-21924
Paperclip-Run: bb6e49a5-4f6d-4a8e-a4dd-ee75d961b36f
This commit is contained in:
Xika committed 2026-05-13 04:36:09 +00:00
1 parent 492ab8f678
commit 65fa4014d0
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@
const path = require('path');
try {
// eslint-disable-next-line global-require, import/no-extraneous-dependencies
// eslint-disable-next-line global-require
require('dotenv').config({ path: path.join(__dirname, '..', '.env') });
} catch (_err) {
/* optional */