From b307125faeb58b6dbfd5d8812b2dffcfdc8358df Mon Sep 17 00:00:00 2001 From: Abhishek Keshri Date: Mon, 14 Oct 2024 16:50:11 +0530 Subject: [PATCH] docs(README): fixes legacy ESlint configs link (#686) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c62c23c3..443149c5 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ This plugin works best if you disable all other ESLint rules relating to code fo ## Configuration (legacy: `.eslintrc*`) -For [legacy configuration](https://eslint.org/docs/latest/use/configure/configuration-files), this plugin ships with a `plugin:prettier/recommended` config that sets up both `eslint-plugin-prettier` and [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) in one go. +For [legacy configuration](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated), this plugin ships with a `plugin:prettier/recommended` config that sets up both `eslint-plugin-prettier` and [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) in one go. Add `plugin:prettier/recommended` as the _last_ item in the extends array in your `.eslintrc*` config file, so that `eslint-config-prettier` has the opportunity to override other configs: