唯然
唯然
@jlarmstrongiv Out of curiosity: is it even maintained? the last version was published ~4 years ago!
the first-class ts config support has been discussed in https://github.com/eslint/eslint/issues/12078 https://github.com/eslint/rfcs/pull/50, and seems we didn't come to an agreement to accept it.
it should be possible to use ts config in the current config. The easiest way I can think of is to use `--config` and `--loader`, something like: ```bash NODE_OPTIONS=--loader=tsx eslint...
I mean flat config (which is the default in eslint v9). If you are using eslint v8, the default is eslintrc, and you need to specify `ESLINT_USE_FLAT_CONFIG=true`
I think it needs a rfc to evaluate: https://github.com/eslint/rfcs My hope: * it's opt-in, not default * 0-overhead for js users * no bind tsx/ts-node/..., worth exploring a standard way...
the plugin is not maintained by eslint team. please file it in https://github.com/typescript-eslint/typescript-eslint.
> eslint src/*.js linebreak-style: [2, windows] the command should be `eslint src/*.js --rule linebreak-style: [2, windows]`. seems you were not using eslint directly, it might be a bug in the...
seems all the linked PRs have been merged. so, closing.
What does your eslint configuration look like? the "Link to Minimal Reproducible Example" seems not able to repro it.
Thanks, I was able to repro! It's because the config does not support flat configs, and not using `overrides` for ts files, however, it has been deprecated. a workaround: ```diff...