Richard Hallows
Richard Hallows
@fsmaia Thanks for the request and for using the template. This has come up before and we decided to not add this feature, preferring to keep the logic simple and...
As there are no objections to this proposal, I'll label as ready to implement so that we align with the behaviour of tools like ESLint and Docusaurus. > I have...
@sergeh Thanks for the report and for using the template. It looks like a bug, either with the positions in the `block-no-empty` rule or with the behaviour of the `/*...
> I'm assuming I should start with `lib/needlessDisables.js` Originally, I thought it's the interplay between where the rules register the position of their violations and something in `lib/needlessDisables.js`. However, digging...
@fuhlig Please create [a new bug issue](https://github.com/stylelint/stylelint/issues/new?assignees=&labels=&template=REPORT_A_BUG.yml) as this issue is specifically about the `block-no-empty` rule.
We'll need to weigh up the convenience for plugin authors against the costs of a broader public API for ourselves. We [expose 4 utils](https://stylelint.io/developer-guide/plugins#stylelintutils): - `stylelint.utils.report` - `stylelint.utils.ruleMessages` - `stylelint.utils.validateOptions`...
> There are other utils that are stable in responsibility, e.g. the `isStandardSyntax*` ones... [Example of the `isStandardSyntax*` being used in the wild](https://github.com/csstree/stylelint-validator/commit/bcf1382571e15ce392f5f484db5f7bcac16a3c76). (As an aside, it looks like a...
Let's expose `validateTypes` util for now as it's complementary to the already exposed `stylelint.utils.validateOptions`. We can revisit the `isStandardSyntax*` utils (in a separate issue) when get around to https://github.com/stylelint/stylelint/issues/5291 and...
Adding only the `is*()` functions to the public API sounds good to me as they're the most commonly used alongside [`stylelint.utils.validateOptions`](https://stylelint.io/developer-guide/plugins#stylelintutilsvalidateoptions). Having said that, I'm not 100% sure of the...
@thasmo Thanks for the report and for using the template. I've labelled the issue as ready to implement. Please consider [contributing](https://stylelint.io/contributing) if you have time. You'll want to test the...