Fix stylelint not obeying project-specific rules (#3272)

* Fix stylelint not obeying project-specific rules

* Fix tests

* Fix test

* Fix test
This commit is contained in:
Jay Sitter
2021-04-19 23:50:57 -04:00
committed by GitHub
parent 1c90d8c018
commit 737c1bf1ac
2 changed files with 6 additions and 10 deletions

View File

@@ -19,9 +19,8 @@ function! ale#fixers#stylelint#Fix(buffer) abort
return {
\ 'cwd': '%s:h',
\ 'command': ale#node#Executable(a:buffer, l:executable)
\ . ' %t'
\ . ale#Pad(l:options)
\ . ' --fix',
\ 'read_temporary_file': 1,
\ . ' --fix --stdin --stdin-filename %s',
\ 'read_temporary_file': 0,
\}
endfunction