StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

An opinionated Lua code formatter

Results 136 StyLua issues
Sort by recently updated
recently updated
newest added

Using VS Code (or Cursor): I get notification that StyLua 2.1.0 is available. When it I ask it to update, it claims briefly to be downloading. If I then try...

bug
extension

I have a global `stylua.toml` at user root for my common lua files. When working with real projects with `.editorconfig` at root, it falls back to global config instead of...

enhancement

### Problem When both `stylua.toml` and `.editorconfig` files are present, StyLua only uses the config options from `stylua.toml`. For example, with the following two files: `stylua.toml` ```toml quote_style = "AutoPreferSingle"...

enhancement

``` $ 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 ```

enhancement

Hey there! I've set up my .stylua.toml file with `call_parentheses = "NoSingleString"` as I like to have my require statements not being wrapped in parenthesis. However I do also have...

## Summary This PR adds proper ES Module (ESM) support to the WASM package while maintaining full backwards compatibility with CommonJS. The package now works seamlessly in both module systems...