From 83e856c2da98942abcb12529a2bdea5ba5a18476 Mon Sep 17 00:00:00 2001 From: Oron Shvartz Date: Tue, 15 May 2018 22:54:13 +0300 Subject: [PATCH] fix the error for Link to="/" removing `The href attribute is required on an anchor. Provide a valid, navigable address as the href value. (jsx-a11y/anchor-is-valid)` error --- .eslintrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index ad5859f..824ee7e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -6,5 +6,10 @@ "es6": true, "mocha": true }, - "rules": {} + "rules": { + "jsx-a11y/anchor-is-valid": [ "error", { + "components": [ "Link" ], + "specialLink": [ "to" ] + }] + } }