What options can we configure? How?
Closed this issue · 4 comments
trusktr commented
I tried this editorconfig, as per the editorconfig docs, and it doesn't fully work:
[**.js]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
max_line_length = 80
Lines aren't being wrapped when they are longer than 80 chars. It'd be super helpful if you'd list exactly which properties we can configure.
trusktr commented
Does it accept the options found in the README https://github.com/beautify-web/js-beautify? Which ones need to be ;vim
options?
trusktr commented
The example here shows
indent_style = space
But that option doesn't exist at https://github.com/beautify-web/js-beautify. They have options like
"indent_char": " ",
"eol": "\n"
so there's obviously discrepancies between this config, editorconfig, and js-beautify. It'd be nice if these were documented!
maksimr commented
maksimr commented
Feel free reopen