Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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. ๐งน
- Host: GitHub
- URL: https://github.com/joshuakgoldberg/eslint-preset-prettier
- Owner: JoshuaKGoldberg
- License: mit
- Created: 2024-04-01T13:07:18.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-01T14:03:29.000Z (7 months ago)
- Last Synced: 2024-10-03T23:33:42.511Z (about 1 month ago)
- Topics: eslint, formatting, linting, prettier, style
- Language: TypeScript
- Homepage: https://github.com/typescript-eslint/typescript-eslint/issues/8814
- Size: 61.5 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
eslint-preset-prettier
The easiest way to use Prettier for linting. Which is what you should do. ๐งน
๐งน 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).