Richard Hallows
Richard Hallows
> I think stylelint cli should run fixer multiple times, like what eslint does. SGTM. Feel free to contribute a proof of concept PR.
> Is this about rolling back to the state before the last fix—and skip that error—if a new error has been detected or is it about introducing a new flag...
@lukasholzer Thanks for the report. Can you try `13.8.0`, please? This issue may have been fixed by https://github.com/stylelint/stylelint/pull/4931.
Do we want to add autofix to a rule like this? I guess it'd be useful in combination with the autofix in the `no-vendor-prefix` rules.
> But, can we fix the following case? Which should be removed: pink or orange? Unless the `"ignore": ["consecutive-duplicates-with-different-values"]` option is set, I think we should fix this case so...
@amarg26 I've labelled the issue as ready to implement. Please consider [contributing](https://stylelint.io/contributing) if you have time.
@amarg26 There's a [small section in our developer guide](https://stylelint.io/developer-guide/rules#add-autofix) on how to add autofix to a rule. You'll likely want to use the [Declaration#remove() part of the PostCSS API](https://postcss.org/api/#declaration-remove). For...
@ybiquitous That's correct. Adding autofix to a rule doesn't change what problems a rule detects, it just autofixes them rather than reporting them. > It may be good to note...
@kaorun343 Thanks for the request and for using the template. A new `cacheStrategy` [option](https://stylelint.io/user-guide/usage/options) (being `metadata` (default) or `content`) that is available via the [Node.js API](https://stylelint.io/user-guide/usage/node-api) and the [CLI](https://stylelint.io/user-guide/usage/cli) sounds...
Try quoting your glob, e.g. ``` "lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore", ``` If that doesn't work, please create a new issue using the template and link to a reproducible repo.