LazyVim.LazyVim/lua/lazyvim
Ahmed Kamal 2d2e425d25
feat(eslint): add option to disable eslint auto format (#4225)
## Description

This adds an option to disable eslint's autoformatting. The reasons for
not wanting an auto format by eslint are:
1. It is generally not recommended to use a linter as a formatter as
highlighted by
https://typescript-eslint.io/users/what-about-formatting/#:~:text=We%20recommend%20against%20using%20ESLint,dprint%2C%20or%20an%20equivalent%20instead
2. A personal preference not to have a linter change my code which I'm
sure other people share.
3. As highlighted in the link above, eslint auto format can be quite
slow.

I would even argue that this should be the default, but I've left it as
is in order not to break anyone's config or ruffle anyone's feathers.

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-11-08 14:05:00 +01:00
..
config fix(snacks): dont add snacks_notif to close_with_q 2024-11-07 22:52:11 +01:00
plugins feat(eslint): add option to disable eslint auto format (#4225) 2024-11-08 14:05:00 +01:00
util fix(lualine): make sure path is in root before substituting 2024-11-07 17:01:08 +01:00
health.lua fix(health): add warning when not using 0.10.0 2024-05-16 21:25:51 +02:00
init.lua fix: add shim for vim.uv just in case someone upgrades lazyvim before lazy 2024-03-22 10:30:35 +01:00
types.lua style: better types for vim.api.nvim_create_autocmd 2024-06-07 23:02:47 +02:00