Skip to content

Readme instructions don't work #1

@focux

Description

@focux

Hey, heads up, couldn't get this working by following the README.

The package ships uncompiled TS, so oxlint can't load it on Node ERR_UNKNOWN_FILE_EXTENSION for .ts, and
--experimental-strip-types won't strip under node_modules. For now I'm using NODE_OPTIONS="--import tsx" oxlint.

The config's also off: the plugin has to go under jsPlugins, not plugins, and categories: { recommended: "error" } errors with unknown variant 'recommended'. Ended up enabling each rule by hand under rules.

Version:
Plugin v0.1.0
Oxlint v1.66.0,
Node v22.16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions