//! Both tariffs and CDRs can be linted - a term borrowed from software development where
//! linting is the act of flagging common errors, bugs, dangerous constructs and
//! stylistic flaws in a some code or data.
//!
//! The term originates from the English word `lint`, the tiny pieces of fiber and fluff that are
//! shed by clothing and trapped in a washing machines filter.
//!
//! Use [`tariff::lint`](crate::tariff::lint) to lint a tariff.
pub mod tariff;
/// Lint the given tariff and return a report of any `Warning`s found.
pub(crate) fn tariff(tariff: &crate::tariff::Versioned<'_>) -> tariff::Report {
tariff::lint(tariff)
}