AtomLinter / linter-scss-lint

Linter plugin for SCSS, using scss-lint
36 stars 21 forks source link

Autofix issues #174

Closed pedzed closed 8 years ago

pedzed commented 8 years ago

I have a list of colors which need to be lowercase. I can of course just quickly make it lowercase with JavaScript, but it would be nice if it could be done by a click of a button.

What is required to have this feature?

Arcanemagus commented 8 years ago

This would need to be implemented in scss-lint first, before it could be done here.

Ideally it would be in the style of eslint, where fixes are proposed in the error message result itself. Most linters though only implement an option on the CLI to automatically apply any fixes known, which could work here but isn't as finely grained as the first option.

Arcanemagus commented 8 years ago

In that particular case you mention, inside Atom you can just highlight the text and do Ctrl+k then l (while still holding Ctrl).