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
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_EXTENSIONfor.ts, and--experimental-strip-typeswon't strip undernode_modules. For now I'm usingNODE_OPTIONS="--import tsx" oxlint.The config's also off: the plugin has to go under
jsPlugins, notplugins, andcategories: { recommended: "error" }errors withunknown variant 'recommended'. Ended up enabling each rule by hand underrules.Version:
Plugin v0.1.0
Oxlint v1.66.0,
Node v22.16