Add stylelint fixer

This commit is contained in:
Mahmoud Mostafa
2017-07-31 02:51:08 +02:00
parent 79d4935ccf
commit eaeb71993f
5 changed files with 68 additions and 0 deletions

View File

@@ -67,6 +67,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['javascript'],
\ 'description': 'Fix JavaScript files using standard --fix',
\ },
\ 'stylelint': {
\ 'function': 'ale#fixers#stylelint#Fix',
\ 'suggested_filetypes': ['css', 'sass', 'scss', 'stylus'],
\ 'description': 'Fix stylesheet files using stylelint --fix.',
\ },
\}
" Reset the function registry to the default entries.