Add stylelint fixer

This commit is contained in:
Mahmoud Mostafa committed 2017-07-31 02:54:59 +02:00
1 parent 79d4935ccf
commit eaeb71993f
5 files changed
+68

No files matched your search

+5
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.