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 |
|
Folke Lemaitre
|
7a5dbeae75
|
feat: use LazyVim everywhere instead of require("lazyvim.util")
|
2024-03-22 09:15:09 +01:00 |
|
Nick Hester
|
71a73e8334
|
fix(eslint): correct working directories name (#2071)
|
2024-01-21 19:53:09 +01:00 |
|
Folke Lemaitre
|
c4e55e4d67
|
feat(ui): added :LazyExtras to manage enabled extras in LazyVim
|
2023-10-12 11:48:02 +02:00 |
|
Folke Lemaitre
|
f1a8f24a36
|
feat(format): new LazyVim formatter with integrations for lsp/none-ls/conform/eslint/...
|
2023-10-12 11:48:02 +02:00 |
|
Folke Lemaitre
|
e8c26c70e2
|
refactor(eslint): use util.get_clients instead of deprecated method
|
2023-10-10 11:54:33 +02:00 |
|
Folke Lemaitre
|
79010ae671
|
fix(nvim-lint): dont try merging function linters
|
2023-10-04 14:45:45 +02:00 |
|
Folke Lemaitre
|
936d74bb61
|
perf: added support for LazyFile event that properly loads file based plugins without blocking the ui
|
2023-10-04 10:45:10 +02:00 |
|
Folke Lemaitre
|
b1ad48067e
|
fix(nvim-lint): dont evaluate conditions for linter functions. Fixes #1569
|
2023-10-03 16:32:05 +02:00 |
|
Folke Lemaitre
|
ff5f5886db
|
fix(nvim-lint): dont use default configured linters from nvim-lint
|
2023-09-29 16:49:59 +02:00 |
|
Folke Lemaitre
|
31d913697b
|
fix(nvim-lint): use linters for both custom and overriding linters
|
2023-09-29 15:58:44 +02:00 |
|
Folke Lemaitre
|
886d49eb89
|
style: comment the selene example
|
2023-09-29 15:15:38 +02:00 |
|
Folke Lemaitre
|
0f7a009d1c
|
docs: added more docs to nvim-lint extensions
|
2023-09-29 15:07:29 +02:00 |
|
Folke Lemaitre
|
05f45bb720
|
feat(extras): added extra for nvim-lint
|
2023-09-29 15:05:01 +02:00 |
|
Mike Duminy
|
2ec4da7fa5
|
fix(format): eslint should respect autoformat (#897)
|
2023-06-08 07:48:34 +02:00 |
|
Folke Lemaitre
|
b227d9727a
|
perf(eslint): only run EslintFixAll for the current buffer when there are diagnostics from eslint
|
2023-05-19 22:49:25 +02:00 |
|
Folke Lemaitre
|
f1dbd097e4
|
fix(eslint): only run EslintFixAll on buffers where eslint is attached
|
2023-03-10 08:54:56 +01:00 |
|
Folke Lemaitre
|
75299da24c
|
feat(eslint): added an extra for eslint lsp that runs EslintFixAll before saving a buffer
|
2023-03-10 08:44:47 +01:00 |
|