David Enke

Results 52 comments of David Enke

> [@davidenke](https://github.com/davidenke?rgh-link-date=2025-03-24T17%3A06%3A40.000Z) If you wan't to send a patch - feel free to send a PR Sure. ~~But it's still a unmaintained dependency then~~. There already is [a PR addressing...

@alexander-akait I mean [setting `http-proxy` as dependency explicitly by pinning the commit in the PR](https://github.com/chimurai/http-proxy-middleware/issues/1017#issuecomment-2622457388) in the `package.json`. **Alternatives** _Patching_ would mean to introduce tooling and thus new dependencies like...

For the time being, this works for me using [`@eslint/compat`](https://github.com/eslint/rewrite): ```ts // eslint-plugin-file-extension-in-import-ts.d.ts declare module 'eslint-plugin-file-extension-in-import-ts' { import type { Linter } from 'eslint'; const plugin: { configs: Record };...

> ### Additional context > Seems to be caused by [fc0bcd6](https://github.com/fi3ework/vite-plugin-checker/commit/fc0bcd6) The issue disappears when rolling back `vite-plugin-checker` to `0.8.0`, so this change seems to be the culprit.

I'm struggling myself to get both plugins working and I think this is related to #293. The first issue is missing typings, you can declare them locally: ```ts declare module...

> @gowin20 can you share your working configuration? > > thanks Here's mine, if it helps: https://github.com/enke-dev/lint/blob/main/eslint.config.ts

I encounter similar behavior, for files being type checked which are not related to the vite build. In my case it looks like the check is based on included files...

> Could we fix this and merge it ?. I think this is a very useful thing that has been stuck. People are using the typescript lint because this is...

> I would agree useful, though I'm a touch hesitant about rules that modify whitespace. I agree, but this could be opt-in. I quite like this kind of consistency.

There's a rule in the [Mocha Eslint Plugin](https://github.com/lo1tuma/eslint-plugin-mocha/) that's doing something similar: [`mocha/consistent-spacing-between-blocks`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/docs/rules/consistent-spacing-between-blocks.md). Maybe the [`@stylistic/block-spacing` rule](https://eslint.style/rules/block-spacing) is worth a look as well. In addition to this, I'd suggest the...