vize_patina 0.76.0

Patina - The quality checker for Vize code linting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod heading_levels;
mod landmark_roles;
mod placeholder_label_option;
mod use_list;

use crate::rule::RuleRegistry;

pub use heading_levels::HeadingLevels;
pub use landmark_roles::LandmarkRoles;
pub use placeholder_label_option::PlaceholderLabelOption;
pub use use_list::UseList;

pub(crate) fn register(registry: &mut RuleRegistry) {
    registry.register(Box::new(HeadingLevels));
    registry.register(Box::new(LandmarkRoles));
    registry.register(Box::new(PlaceholderLabelOption));
    registry.register(Box::new(UseList));
}