Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshuakgoldberg/eslint-preset-prettier

The easiest way to use Prettier for linting. Which is what you should do. ๐Ÿงน
https://github.com/joshuakgoldberg/eslint-preset-prettier

eslint formatting linting prettier style

Last synced: 14 days ago
JSON representation

The easiest way to use Prettier for linting. Which is what you should do. ๐Ÿงน

Awesome Lists containing this project

README

        

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:

```shell
npm i eslint-preset-prettier
```

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

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

export default config();
```

> ๐Ÿ’™ This package was templated with [`create-typescript-app`](https://github.com/JoshuaKGoldberg/create-typescript-app).