
If you’re linting TypeScript, you’ll also want these packages in addition to the ones above: Run this command to install ESLint with Prettier: yarn add -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-config-prettier (turns off some conflicting ESLint rules).eslint-plugin-prettier (exposes Prettier-specific options as ESLint rules).If you want to use Prettier with ESLint, you’ll also need these packages: By itself, Prettier is just a code formatter that enforces certain code style rules people typically use both ESLint and Prettier together, extending ESLint with Prettier’s recommended rules.



You can also optionally install Prettier and its associated ESLint plugins. Since we want to use ESLint to format JavaScript, we’ll need to install the eslint package ( gasp).
