Skip to content

Commit 3781b17

Browse files
bartlomiejuclaude
andcommitted
fix: remove no-node-globals and no-process-global from recommended rules
These rules should no longer be in the default/recommended set. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2fcb88c commit 3781b17

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/rules/no_node_globals.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use crate::diagnostic::LintFix;
66
use crate::diagnostic::LintFixChange;
77
use crate::handler::Handler;
88
use crate::handler::Traverse;
9-
use crate::tags;
109
use crate::tags::Tags;
1110
use crate::Program;
1211
use std::borrow::Cow;
@@ -47,7 +46,7 @@ impl LintRule for NoNodeGlobals {
4746
}
4847

4948
fn tags(&self) -> Tags {
50-
&[tags::RECOMMENDED]
49+
&[]
5150
}
5251
}
5352

src/rules/no_process_global.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use crate::diagnostic::LintFix;
66
use crate::diagnostic::LintFixChange;
77
use crate::handler::Handler;
88
use crate::handler::Traverse;
9-
use crate::tags;
109
use crate::tags::Tags;
1110
use crate::Program;
1211

@@ -39,7 +38,7 @@ impl LintRule for NoProcessGlobal {
3938
}
4039

4140
fn tags(&self) -> Tags {
42-
&[tags::RECOMMENDED]
41+
&[]
4342
}
4443
}
4544

0 commit comments

Comments
 (0)