chore(linter): add line break for consistent (#6837)

This regex expects always a line break before the closing bracet:
https://github.com/oxc-project/eslint-plugin-oxlint/blob/main/scripts/traverse-rules.ts#L110
This commit is contained in:
Alexander S. 2024-10-24 01:36:58 +02:00 committed by GitHub
parent ec5a19b880
commit dcddbeb689
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,8 @@ declare_oxc_lint!(
/// var appHeader = new AppHeader();
/// ```
NoNewRequire,
restriction);
restriction
);
impl Rule for NoNewRequire {
fn run<'a>(&self, node: &AstNode<'a>, ctx: &LintContext<'a>) {