wikimedia / eslint-docgen

Automatically generate ESLint plugin documentation from rule metadata and test cases.
MIT License
10 stars 7 forks source link

Support ESLint v9 #138

Open koba04 opened 5 months ago

koba04 commented 5 months ago

Do you have a plan to support ESLint v9?

edg2s commented 5 months ago

I haven't had time to start working with ESL9 config, but patches are welcome.

koba04 commented 5 months ago

Thanks. To support ESLint v9, upgrading ESLint plugins and configs (wikimedia, node etc) might be necessary.

edg2s commented 5 months ago

In theory one can use FlatCompat to load legacy configs, but I couldn't get it to work easily.

koba04 commented 4 months ago

In theory one can use FlatCompat to load legacy configs, but I couldn't get it to work easily.

Yeah, I tired it, but I got the error and to fix this, updating the wikimedia config seems necessary

Error: Failed to load plugin 'yml' declared in ' » eslint-config-wikimedia#overrides[1] » ./yaml': This method cannot be used with flat config. Add your entries directly into the config array.