flexlint icon indicating copy to clipboard operation
flexlint copied to clipboard

Create an npm package for flexlint

Open seveibar opened this issue 1 year ago • 0 comments

I like this repo conceptually and would like to use it in tscircuit's many repos to forbid specific things, like the use of "data" as a variable.

I think flexlint should be available as an npm package, this can be done by downloading the binary in a postinstall step, or compiling to WASM with a small JS wrapper around the wasm.

Ideally I can specify flexlint as a package.json lint step like so:

{
  "scripts": {
    "lint": "flexlint"
  }
}

...and have it read the config and lint.

seveibar avatar Oct 31 '24 18:10 seveibar