8000 docs(eslint-plugin): add docs on using Prettier with the plugin by j-f1 · Pull Request #104 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content

docs(eslint-plugin): add docs on using Prettier with the plugin #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 30, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions packages/eslint-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,22 @@ If you want to use rules which require type information, you will need to specif

See [@typescript-eslint/parser's README.md](../parser/README.md) for more information on the available "parserOptions".

## Usage with Prettier

Install [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) to disable our code formatting related rules:

```json
{
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
]
}
```

**Note: Make sure you have `eslint-config-prettier@4.0.0` or newer.**

## Supported Rules

<!-- Please run `npm run docs` to update this section -->
Expand Down
0