Masafumi Koba
Masafumi Koba
@jeddy3 Thanks for opening the discussion. Considering this Stylelint project's future (e.g. sustainability), I agree with migrating to flat config. I believe it would bring more simplicity and more focus...
> Change to a single `stylelint.config.{js,cjs,mjs}` config file. I noticed ESLint doesn't support `.cjs` or `.mjs` extensions (only `eslint.config.js`). The ESLint document says: > ESLint only automatically looks for a...
@jeddy3 If you have additional info or find some mistakes, please feel free to edit the issue description.
Yeah, it will be a while (maybe 1 year later?)
I've just opened an issue #7397, too.
> What coincidental timing 😆 Definitely! 😄 And I agree with consuming our resources for such modern syntaxes or constructs. 👍🏼
> It will probably require to compile an ESM migration state list of the top 10 plugins/formatters/syntaxes that we don't maintain. This idea sounds good to me, although our test...
I just added #7542 to the list in this issue description.
Added #7556 to the task list.
@silverwind Nice catch. I think the doc you meant is below: https://github.com/stylelint/stylelint/blob/2d74e26c93b69793d7375d25956a218818ee2601/docs/user-guide/configure.md?plain=1#L286-L290 Indeed, since we have used dynamic [`import()`](https://nodejs.org/api/esm.html#import-expressions) for config modules, Stylelint can now load ESM configs (of course,...