Richard Hallows

Results 399 comments of Richard Hallows

> Elena Pogorelova commented 2 hours ago > didn't try this in VSCode, but I can easily reproduce the issue by running stylelint in terminal. So it's clearly not an...

Thanks for reproducing it locally. This is a bug in stylelint, but specific to Windows 10 (or Windows line endings). The problem lies in either the [`block-no-empty` rule](https://github.com/stylelint/stylelint/blob/master/lib/rules/block-no-empty/index.js) (perhaps where...

That hints at it being a parser issue, although it doesn't guarantee it. Resolving the bug requires a small investigation to first pinpoint where the issue lies. Please consider digging...

SGTM. Very much aligned with [the vision](https://stylelint.io/vision#performant). PoC PRs welcome! Do we know of any other linting tools that have similar benchmarks that we can gather ideas from?

@flyerhzm Thanks for the report and for using the template. There is definitely something amiss with sourceMappingURL comments in general, which is odd as the [AST from them](https://astexplorer.net/#/gist/139f70da1d2d8429f7aad0fa824b3047/e8b93f961d7e8fe6bc4b2196df0f2c17843b138e) is nothing...

> I added a test case to reproduce this issue Thanks. I can reproduce your error with a leading `/n`. - `\n/*# sourceMappingURL=index.css.map */\n` throws an error with `--fix` -...

Closing [as stylistic rules are frozen](https://github.com/stylelint/stylelint/issues/5674). The community is welcome to migrate the rule [to a plugin](https://stylelint.io/developer-guide/plugins) and fix this bug.

> Any thoughts? Yes, autofix shouldn't be deleting the sourcemap comment. I'll reopen. @jefferyto Please consider [contributing](https://stylelint.io/contributing) if you have time. I doubt many other people are linting files with...

SGTM. I think anything that improves the DX is a good thing.

@yukipastelcat Thanks for the report. > Why am I getting no-descending-specificity error? Technically `.something-element > *` has a specificity of `0,1,0` and `.something > *:not(:first-child)` has a higher specificity of...