Anthony Fu

Results 1228 comments of Anthony Fu

You may want to report to https://github.com/eslint-stylistic/eslint-stylistic instead.

I don't use type-aware rules myself tbh. Would love to see a PR and discuss otherwise I don't expect myself fixing that any sooner.

I don't know. I am not using that rule and not sure if it's a problem with this config or the plugin - Investigating yourself might get your problem solved...

It's more like a temporary thing to experiment out and move fast. Later we will move to https://github.com/eslint-types instead.

Should be better now with https://github.com/antfu/eslint-typegen

I am okay with keeping this PR open for future reference, or feel free to close it.

Closing due to inactivity. Please open a new issue referencing to this one if you can follow up with more information.

I'd be happy to disallow __dirname et al., but I am not sure if we should recommend `import.meta.filename` as it would be still runtime-specific. I usually use `new URL('../', import.meta.url)`...

I think currently I don't want to have a strict rule for that - feel free to disable it on userland.