From 6c52527e52ece6fd24c5501119aa2efde2da3f42 Mon Sep 17 00:00:00 2001 From: Abhishek Keshri Date: Mon, 14 Oct 2024 15:54:13 +0530 Subject: [PATCH] docs: fix legacy configs link --- 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: