From b97da8d569761ddf709d7fcff1ca74011e7a49f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 22 May 2021 23:37:44 +0200 Subject: [PATCH] Fix lint error in nextauth page --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bcc6069..ceaef26 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,12 @@ "react/require-default-props": "warn", "react/react-in-jsx-scope": "off", "camelcase": "off", - "react/boolean-prop-naming": "off" + "react/boolean-prop-naming": "off", + "new-cap": [ + "error", { + "capIsNewExceptions": ["Credentials", "NextAuth"] + } + ] } } }