bevy_lint/lints/complexity/
mod.rs

1//! Lints that offer suggestions on how to simplify your code.
2//!
3//! These lints are **warn** by default.
4
5use rustc_lint::{Level, Lint, LintStore};
6
7use crate::lint::LintGroup;
8
9pub(crate) struct Complexity;
10
11impl LintGroup for Complexity {
12    const NAME: &str = "bevy::complexity";
13    const LEVEL: Level = Level::Warn;
14    const LINTS: &[&Lint] = &[];
15
16    fn register_passes(_store: &mut LintStore) {}
17}