Opinionated Code Formatter. If we run ESLint with --fix flag, it will use Prettier to auto format code, solving both stylistic and semantic problems.. Why? If you decide to use ESLint with Prettier rules and have configured husky to run lint-staged, point it at eslint --fix instead of prettier --write. Learn more about clone URLs Download ZIP. HTML