Open
Description
Is there an existing issue for this?
- I have searched the existing issues and my issue is unique
- My issue appears in the command-line and not only in the text editor
Description Overview
Today allowReferrer
default value is false
. This is because the rule is required for Internet Explorer (IE). https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md#rule-options
The problem with noreferrer is that it hides the referrer information to the site you link to, which can create problems (e.g. commercial traffic arrangements). But at the root, it's not the default that the HTML spec implemented, it makes eslint opinionated.
At one point in the future, this allowReferrer: false
default will no longer make sense because Internet Explorer use would be so low that the cons outweigh the pros. Hence this issue is here to keep track of this.
Expected Behavior
eslint-plugin-react version
7.33.2
eslint version
8.56.0
node version
v18.18.2