Skip to content

Commit 1f8e037

Browse files
committed
fix(rush-lib): suppress legacy null warning
The decoupled ESLint plugin does not recognize native private methods, causing no-new-null to report a false positive. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14
1 parent 86218bb commit 1f8e037

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libraries/rush-lib/src/logic/ProjectWatcher.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ export class ProjectWatcher {
287287
* Handles a raw file system event by debouncing and scheduling an iteration.
288288
* Ignores changes to `.git` and `node_modules`.
289289
*/
290+
// eslint-disable-next-line @rushstack/no-new-null -- The decoupled ESLint plugin does not recognize native private methods yet.
290291
#onFsEvent(fileName: string | null): void {
291292
if (fileName === '.git' || fileName === 'node_modules') {
292293
return;

0 commit comments

Comments
 (0)