diff --git a/.eslintrc b/.eslintrc index 6b66fa55..7be0a9eb 100644 --- a/.eslintrc +++ b/.eslintrc @@ -40,7 +40,18 @@ }], "class-methods-use-this": 0, "react/jsx-no-bind": [2, {"allowBind": true, "allowArrowFunctions": true}], - "no-return-assign": [2, "except-parens"] + "no-return-assign": [2, "except-parens"], + "jsx-a11y/anchor-is-valid": [ + "error", + { + "components": [ + "Link" + ], + "specialLink": [ + "to" + ] + } + ] }, "plugins": [ "react", "jsx-a11y", "import" diff --git a/client/components/Nav.jsx b/client/components/Nav.jsx index beef9d41..09b3c123 100644 --- a/client/components/Nav.jsx +++ b/client/components/Nav.jsx @@ -108,7 +108,7 @@ class Nav extends React.PureComponent { }) }; return ( -