Skip to content

Install linters and formatters

Emiliano Ruiz Carletti edited this page Oct 20, 2021 · 1 revision

Eslint_d

Will search for .eslintrc* at the root of your project

  1. Install following the official repo
  2. Works out of the box

Checkstyle

Will search for checkstyle.xml at the root of your project

  1. Download Checkstyle from here
  2. Put the .jar wherever you like
  3. Create an environment variable CHECKSTYLE_ROOT pointing to that directory
  4. Ensure java -jar $CHECKSTYLE_ROOT/checkstyle*.jar --version prints checkstyle version

Stylua

Will search for *stylua.toml at the root of your project

  1. Install following the official repo
  2. Works out of the box
Clone this wiki locally