oparlint-linting 0.0.2

Linting infrastructure for oparlint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-FileCopyrightText: Politik im Blick developers
// SPDX-FileCopyrightText: Wolfgang Silbermayr <wolfgang@silbermayr.at>
//
// SPDX-License-Identifier: AGPL-3.0-or-later OR EUPL-1.2

/// The severity of a lint failure.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Severity {
    /// The lint checks an aspect that is described as the equivalent of
    /// **SHOULD**, **RECOMMENDED**, **SHOULD NOT** or **NOT RECOMMENDED** in
    /// the [OParl specification](https://oparl.org/spezifikation/online-ansicht/#nomenklatur)..
    Recommendation,

    /// The lint checks an aspect that is described as the equivalent of
    /// **MUST**, **REQUIRED**, **SHALL**, **MUST NOT** or **SHALL NOT** in
    /// the [OParl specification](https://oparl.org/spezifikation/online-ansicht/#nomenklatur)..
    Requirement,
}