From 8b889bff2731c9db6988c88c0d76bdbff17bd3c5 Mon Sep 17 00:00:00 2001 From: Lucas Mesquita Date: Sat, 13 Aug 2022 19:07:43 -0300 Subject: [PATCH] [readme] Preventing code repetition in user's eslint config file --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 69af04c6c..c48ae8592 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ Add `plugin:jsx-a11y/recommended` or `plugin:jsx-a11y/strict` in `extends`: "extends": ["plugin:jsx-a11y/recommended"] } ``` +> As you are extending our configuration, you can omit `"plugins": ["jsx-a11y"]` from your `.eslintrc` configuration file. To enable your custom components to be checked as DOM elements, you can set global settings in your configuration file by mapping each custom component name to a DOM element type.