···11#![recursion_limit = "1024"]
22mod lints;
33mod make;
44-pub mod session;
54mod utils;
6576pub use lints::LINTS;
88-use session::SessionInfo;
97108use rnix::{SyntaxElement, SyntaxKind, TextRange, parser::ParseError};
119use std::{convert::Into, default::Default};
···249247/// Lint logic is defined via this trait. Do not implement manually,
250248/// look at the `lint` attribute macro instead for implementing rules
251249pub trait Rule {
252252- fn validate(&self, node: &SyntaxElement, sess: &SessionInfo) -> Option<Report>;
250250+ fn validate(&self, node: &SyntaxElement) -> Option<Report>;
253251}
254252255253/// Contains information about the lint itself. Do not implement manually,