Skip to content

Commit

Permalink
chore: manually promote rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Oct 16, 2023
1 parent 1638fd0 commit f2b5495
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions crates/biome_js_analyze/src/syntax.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Generated file, do not edit by hand, see `xtask/codegen`
pub(crate) mod nursery;
::biome_analyze::declare_category! { pub (crate) Syntax { kind : Syntax , groups : [self :: nursery :: Nursery ,] } }
pub(crate) mod correctness;
::biome_analyze::declare_category! { pub (crate) Syntax { kind : Syntax , groups : [self :: correctness :: Correctness ,] } }
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ pub(crate) mod no_duplicate_private_class_members;
pub(crate) mod no_super_without_extends;

declare_group! {
pub (crate) Nursery {
name : "nursery" ,
pub (crate) Correctness {
name : "correctness" ,
rules : [
self :: no_duplicate_private_class_members :: NoDuplicatePrivateClassMembers ,
self :: no_super_without_extends :: NoSuperWithoutExtends ,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::collections::{HashMap, HashSet};

use biome_analyze::{context::RuleContext, declare_rule, Ast, FixKind, Rule, RuleDiagnostic};
use biome_analyze::{context::RuleContext, declare_rule, Ast, Rule, RuleDiagnostic};

use biome_diagnostics::category;
use biome_js_syntax::{AnyJsClassMember, JsClassMemberList, TextRange};
Expand All @@ -20,8 +20,6 @@ declare_rule! {
pub(crate) NoDuplicatePrivateClassMembers {
version: "1.0.0",
name: "noDuplicatePrivateClassMembers",
recommended: false,
fix_kind: FixKind::Unsafe,
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ declare_rule! {
pub(crate) NoSuperWithoutExtends {
version: "1.0.0",
name: "noSuperWithoutExtends",
recommended: false,
}
}

Expand Down

0 comments on commit f2b5495

Please sign in to comment.