eslint-preset-prettier
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

eslint-preset-prettier

The easiest way to use Prettier for linting. Which is what you should do. 🧹

🤝 Code of Conduct: Kept 📝 License: MIT 📦 npm version 💪 TypeScript: Strict

🧹 See Docs: Prioritize formatting rules over other, less-important ones in docs for more information. 🧹

Usage

First install this development utility as a production dependency:

npm i eslint-preset-prettier

Then, replace the contents of your ESLint configuration file with:

import { config } from "eslint-preset-prettier";

export default config();

💙 This package was templated with create-typescript-app.

Package Sidebar

Install

npm i eslint-preset-prettier

Weekly Downloads

15

Version

1.0.2

License

MIT

Unpacked Size

8.73 kB

Total Files

9

Last publish

Collaborators

  • joshuakgoldberg