Open Mouvedia opened 1 year ago
Thanks for opening the issue. Sounds good to me. 👍🏼
@ybiquitous stylelint/stylelint#6942 Should it remain stylelint specific? If so this issue can be closed. If not it will have to be removed on stylelint side.
Should it remain stylelint specific?
I think we should use the same rule for importing within the organization. So, this proposal makes sense.
But adding the importing rules to stylelint
first is a good try. If so, people can realize the value of the new rules.
(stylelint
has already used eslint-plugin-import
in the v16
branch)
Sounds good?
Yes, but can you please wait for PRs (rewriting to ESM) into the v16
branch? Probably, so many conflicts would occur.
What is the problem you're trying to solve?
import
s,export
s last, etc.What solution would you like to see?
eslint-plugin-import - order or https://github.com/lydell/eslint-plugin-simple-import-sort/ https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/exports-last.md https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-unused-modules.md
after v16 https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-commonjs.md
see also
stylelint/stylelint#6995 https://github.com/stylelint/stylelint/pull/7211#discussion_r1361407396