Sebastian Davids

Results 199 comments of Sebastian Davids

Any update? Flat config has been the default for 10 months now. [ESLint 8 has reached EOL](https://eslint.org/blog/2024/09/eslint-v8-eol-version-support/) While you are at it, you might want to update `README.md` with flat...

Does not work: eslint.config.js ``` import testingLibrary from 'eslint-plugin-testing-library'; export default [ { files: ['**/*.test.js'], ...testingLibrary.configs['flat/dom'], }, ]; Edit: It works.

https://github.com/testing-library/eslint-plugin-testing-library/issues/900#issuecomment-2592836914 is obsolete.

Just having a test for: .nvmrc ``` # comment 20.16.0 ``` would be enough.

> The contents of a .nvmrc file must contain precisely one (as described by nvm --help) followed by a newline. .nvmrc files may also have comments. The comment delimiter is...

Useful for [REUSE](https://reuse.software/faq/#step-2) compatibility without an explicit entry in `REUSE.toml`.

@evert Would you be so kind and share your code?

This would improve the debugging DX due to the many different ways/locations where one could set a configuration option.

[Husky](https://typicode.github.io/husky/how-to.html#adding-a-new-hook) (popular in the NodeJS world) for example, does neither require its hooks to be executable nor to have a shebang. ```console $ mkdir -p /tmp/test/.husky && cd "$_/.." $...

Another use case: [zsh functions](https://zsh.sourceforge.io/Doc/Release/Functions.html) zfunc/some_func ```shell some_func() { print This is func; } ``` zfunc/some_other_func ```shell some_other_func() { print This is another func; } ``` This will ignore the...