Closed ybiquitous closed 1 year ago
Which issue, if any, is this issue related to?
Ref https://github.com/stylelint/stylelint/issues/5291
Is there anything in the PR that needs further explanation?
This change suggests adding the following rules for ESM files.
'use strict'
Someone may disagree with using overrides in sharable configs. Please let me know if you have concerns.
overrides
I want to automatically check ESM files during the migration from CJS to ESM in the stylelint/stylelint repository.
Also, I believe these enabled rules are useful for other projects.
Thanks for the review! I'll release 19.1.0 soon.
https://github.com/stylelint/eslint-config-stylelint/releases/tag/19.1.0 released! 🎉
Ref https://github.com/stylelint/stylelint/issues/5291
This change suggests adding the following rules for ESM files.
'use strict'
directive.Someone may disagree with using
overrides
in sharable configs. Please let me know if you have concerns.Motivation
I want to automatically check ESM files during the migration from CJS to ESM in the stylelint/stylelint repository.
Also, I believe these enabled rules are useful for other projects.