Course Lessons
Linters and Formatters - say what?
Every modern editor has some kind of built in functionality for formatting, and linting.
Formatters and linters aren't always synonymous with LSPs. Sometimes, languages employ LSPs for dynamic language services, but leave formatting and linting up to different tools. I consider formatting/linting tools to be more static
and less dynamic
. These are typically more basic tools that take simple text input, and give back a simple output.
In this section we are going to learn how to set up linters and formatters in our neovim environment so we can get the best functionality out of things like rubocop
, eslint
, and black
(if you're using python). We'll also explain how to expand this configuration to any language you might be using that employs linting/formatting CLI tools.
You've completed this lesson!
You completed this lesson less than a minute ago.