Conversation
|
@tbroyer does this look right to you now? |
tbroyer
left a comment
There was a problem hiding this comment.
Would have to try that it actually works, but looks good to me
|
Trying it locally (using Changing the project to emit ESM (I added |
|
yep i actually opened #45 today and had meant to do it a few weeks ago but totally forgot we can land that first in a new major and merge this afterwards maybe |
|
in ESLint 9, it works fine (it was introduced in 9.x) in earlier versions of 9, and 8, you have to use a reference ( |
|
Hmmm, for me, I've figured this workaround: ... and this: |
|
you can extends: [
depend.configs['flat/recommended']
] |
|
Well, why is this better? And this causes another problem. For example, if I use then the ESLint inspector displays it twice, one time too much: This happens when you use extend, but not when you use the spread operator. |
|
IMO the question is not whether this is better or not (for some definition of "better" that'll probably be subjective), but whether this follows ESLint's own choices (whether you like it not). ESLint's documentation uses And ESLint v8 was EOL'd back in october last year: https://eslint.org/blog/2024/09/eslint-v8-eol-version-support/ |


No description provided.