Closed elycheea closed 4 months ago
This is a bit trickier than first glance @elycheea
The rules do have rule names but in moving from 15 to 16 stylelint does not interpret the CJS plugin as having them seeing 'default' when looking for rulename
As opposed to an ESM module at the same break point
Converting to ESM on the face of it seems simple enough but hits a number of issues.
stylelint-test-rule-node
https://stylelint.io/developer-guide/plugins#testing@elycheea you are now blocked by a carbon dependency on stylelint-a11y
perhaps switch to @double-great/stylelint-a11y
Was reviewing a dependency update which updates to Stylelint 16 and caught this during a CI check.
Downgrading Stylelint back to 15.11.0 and Prettier down to 2.8.8 gets our lint passing again.
Previously documented in this PR https://github.com/carbon-design-system/ibm-products/pull/4168#pullrequestreview-1863853796.