[][src]Module rslint_core::rule_prelude

Commonly used items by rules. These include some AST definitions, and utilities.

Re-exports

pub use crate::autofix::Fixer;
pub use crate::autofix::Unwrappable;
pub use crate::autofix::Wrapping;
pub use crate::declare_lint;
pub use crate::rule_tests;
pub use crate::util;
pub use crate::CstRule;
pub use crate::Diagnostic;
pub use crate::Outcome;
pub use crate::RuleCtx;
pub use crate::RuleResult;
pub use crate::Span;
pub use rslint_parser::ast;
pub use rslint_parser::op;
pub use rslint_parser::token_set;
pub use rslint_parser::util as parseutil;
pub use rslint_parser::util::color;
pub use rslint_parser::AstNode;
pub use rslint_parser::AstToken;
pub use rslint_parser::BigInt;
pub use rslint_parser::JsNum;
pub use rslint_parser::SyntaxElement;
pub use rslint_parser::SyntaxKind;
pub use rslint_parser::SyntaxNode;
pub use rslint_parser::SyntaxNodeExt;
pub use rslint_parser::SyntaxToken;
pub use rslint_parser::SyntaxTokenExt;
pub use rslint_parser::TokenSet;
pub use rslint_parser::T;
pub use rslint_errors::Applicability;
pub use rslint_errors::Severity;