Skip to content

Not very many lint rules are turned on #336

@onlywei

Description

@onlywei

oxlint was integrated in #328, but I could barely turn on any lint rules. This repo hasn't had linting in CI since probably the beginning, so there are lint violations to most rules everywhere.

I only turned on the correctness category of rules, and even then I had to disable the no-unused-vars rule. There are unused vars all over the place.

I think we should aim for a stricter lint rule set, perhaps something close to https://standardjs.com/. However, standard still uses ESLint. I could try and replicate most of it in the oxlint configuration, but my guess is that this repo will have many many violations to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions