[Bug]: format can't trigger auto fix
Yueyanc opened this issue · comments
Yueyanc commented
How did you encounter this bug?
if vscode setting has
{ "files.insertFinalNewline": true }
auto fix can't be trigger.
analyzed the source code find this
and
if has config , will get the cache.
can't to find cofig file for gernerate configoptions
Link to Minimal Reproducible Example
without
Code Snippet
No response
Stylelint Configuration
No response
Extension Configuration
No response
Actual Behaviour
auto fix
Expected Behaviour
can't auto fix
Logs
No response
Stylelint Version
v15.11.0
vscode-stylelint Version
v1.3.0
Node.js Version
v16.14.2
Operating System
windows
Windows Subsystem for Linux
No response
Code of Conduct
- I agree to follow vscode-stylelint's Code of Conduct
Yueyan commented
insertSpaces
,tabSize
,insertFinalNewline
,trimTrailingWhitespace
,These configurations cause the auto fix to fail
Yueyan commented
Yueyan commented