mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.76k stars 191 forks source link

fix(eslint): warn user of no config file instead of showing in buffer #586

Closed IamGideonIdoko closed 1 week ago

IamGideonIdoko commented 1 month ago

Closed #462

When there's no ESLint config, the error is shown in the buffer, which is an annoying experience when a user is working on JS-related files that are not associated with a config.

Screenshot 2024-05-23 at 1 56 57 PM

We should warn the user of the error once instead of showing the error in the buffer:

Screenshot 2024-05-23 at 2 10 09 PM

ankitdev10 commented 1 month ago

Legit fix. Not having eslint config file in the directory had been troubling me for quite a long.

IamGideonIdoko commented 3 weeks ago

@mfussenegger What do you make of this?

Prashant20nov2003 commented 3 weeks ago

please fix this issue its super annoying.