chore(validate): remove stale rule section dividers

Leftover from when rules.rs was a single 3500-line file. Numbering
was stale (Rule 23 and Rule 24 each appeared twice after the split)
and duplicated info already in the filename.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-05-02 15:19:06 -04:00
parent ae5ccb5ce2
commit a479db981f
No known key found for this signature in database
26 changed files with 0 additions and 54 deletions

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 17: all_conditional_edges (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -7,8 +7,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 7: condition_syntax (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 15: direction_valid (WARNING) ---
struct Rule;
const VALID_DIRECTIONS: &[&str] = &["TB", "LR", "BT", "RL"];
@ -82,6 +80,4 @@ mod tests {
assert_eq!(d.len(), 1);
assert_eq!(d[0].severity, Severity::Warning);
}
// stylesheet_syntax with full parse tests
}

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 4: edge_target_exists (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 6: exit_no_outgoing (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 10: fidelity_valid (WARNING) ---
struct Rule;
impl Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 14: freeform_edge_count (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 12: goal_gate_has_retry (WARNING) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 22: import_error (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -7,8 +7,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 21: node_model_known (WARNING) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 18: orphan_custom_outcome (WARNING) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 13: prompt_on_llm_nodes (WARNING) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 24: random_selection_no_conditions (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -8,8 +8,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 3: reachability (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 16: reserved_keyword_node_id (WARNING) ---
struct Rule;
const DOT_RESERVED_KEYWORDS: &[&str] = &[

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 11: retry_target_exists (WARNING) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 19: script_absolute_cd (WARNING) ---
struct Rule;
/// Returns true if `text` contains `cd` followed by whitespace and then `/`.

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 23: selection_valid (WARNING) ---
struct Rule;
const VALID_SELECTIONS: &[&str] = &["deterministic", "random"];

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 5: start_no_incoming (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 1: start_node (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -8,8 +8,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 20: stylesheet_model_known (WARNING) ---
struct Rule;
impl Rule {

View file

@ -7,8 +7,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 8: stylesheet_syntax (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 2: terminal_node (ERROR) ---
struct Rule;
impl LintRule for Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 24: thread_id_requires_fidelity_full (WARNING) ---
struct Rule;
impl Rule {

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 9: type_known (WARNING) ---
struct Rule;
const KNOWN_HANDLER_TYPES: &[&str] = &[

View file

@ -6,8 +6,6 @@ pub(super) fn rule() -> Box<dyn LintRule> {
Box::new(Rule)
}
// --- Rule 23: unresolved_file_ref (ERROR) ---
struct Rule;
impl LintRule for Rule {