Eli
Eli
> I suppose the one benefit of using the "official" package is that it's likely to already be installed. Actions are pre-bundled, it'd get reinstalled. > However, I don't feel...
> Oh, that's a strange thing to do. 😕 Yeah, actions are weird. > We've actually just switched to using the default file search mode where you don't specify the...
Closing due to the v5 refactor; +1 #1582 instead.
For a while, [`eslint-define-config`](https://github.com/eslint-types/eslint-define-config) provided this, but it's since been deprecated (presumably due to maintenance cost, as types have been getting complex since v9).
I've hacked this together: ```ts // Based on eslint-define-config, MIT license; @eslint/config-helpers, Apache license import { type Config, defineConfig as eslintDefineConfig, type ExtendsElement, } from "@eslint/config-helpers"; import type { Linter...
> You can use https://github.com/antfu/eslint-typegen to generate the json-schema based rule options. Yes! Thank you! I knew there was some project to do it but I couldn't remember it. (Still...
> We actually do ship type definitions for built-in rules: Cool, that's really helpful. Just dropped (most) of eslint-typegen's buggy interface merging in favor of that. Only thing I found...
Until the day when [eslint/rewrite#208](https://github.com/eslint/rewrite/issues/208) shall get resolved, here's my version: `@deputy-eslint/define-config`: ```ts import { defineConfig as eslintDefineConfig, type ExtendsElement, } from "@eslint/config-helpers"; import type { Linter } from "eslint";...
> If someone could submit a PR to fix that, we'd appreciate it. I just went through and diffed the eslint-typegen output and the eslint/rules output and found 48 incompatibilities....
Just an FYI that eslint-plugin-astro supports typescript-eslint v8 now.