From f53a835f8858cd711e643a0b38044ac1212eae05 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 9 Jan 2022 16:50:01 +0700 Subject: [PATCH] Add option for `react/jsx-no-target-blank` --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 52fd504..5a60423 100644 --- a/index.js +++ b/index.js @@ -151,7 +151,8 @@ module.exports = { 'react/jsx-no-target-blank': [ 'error', { - warnOnSpreadAttributes: true + warnOnSpreadAttributes: true, + forms: true } ], 'react/jsx-no-undef': 'error',