Skip to content

Commit

Permalink
feat(lint/noIrregularWhitespace): add rule source
Browse files Browse the repository at this point in the history
  • Loading branch information
michellocana committed Jul 5, 2024
1 parent 0156473 commit 078dc08
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use biome_analyze::{context::RuleContext, declare_lint_rule, Ast, Rule, RuleDiagnostic};
use biome_analyze::{RuleSource, RuleSourceKind};
use biome_console::markup;
use biome_js_syntax::{JsLanguage, JsModule};
use biome_rowan::{AstNode, Direction, SyntaxTriviaPiece, TextRange};
Expand Down Expand Up @@ -41,6 +42,8 @@ declare_lint_rule! {
name: "noIrregularWhitespace",
language: "js",
recommended: false,
sources: &[RuleSource::Eslint("no-irregular-whitespace")],
source_kind: RuleSourceKind::SameLogic,
}
}

Expand Down

0 comments on commit 078dc08

Please sign in to comment.