StyLua
StyLua copied to clipboard
Can't specify editorconfig for `--config-path`
$ stylua ./lua/lint/linters/fsharplint.lua --config-path ./.editorconfig
error: Config file not in correct format: TOML parse error at line 3, column 2
|
3 | [*.lua]
| ^
invalid key
It is intentional that --config-path can only process stylua.toml files.
We could special case it to use editorconfig parsing instead if the filename passed is specifically .editorconfig