diff --git a/docs/getting-started/linting/README.md b/docs/getting-started/linting/README.md index 63163d9a6fd..655974fff4e 100644 --- a/docs/getting-started/linting/README.md +++ b/docs/getting-started/linting/README.md @@ -121,6 +121,8 @@ If you use [`prettier`](https://www.npmjs.com/package/prettier), there is also a Using this config is as simple as adding it to the end of your `extends`: +> Note: [Since version `8.0.0` of `eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21), all you need to extend is `'prettier'`. That includes all plugins. Otherwise for `<8.0.0`, you need include `'prettier/@typescript-eslint'`. + ```diff module.exports = { root: true, @@ -132,7 +134,6 @@ Using this config is as simple as adding it to the end of your `extends`: 'eslint:recommended', 'plugin:@typescript-eslint/recommended', + 'prettier', -+ 'prettier/@typescript-eslint', ], }; ```