mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
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:
parent
ec5a19b880
commit
dcddbeb689
1 changed files with 2 additions and 1 deletions
|
|
@ -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>) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue