Skip to content

Conversation

@oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 6, 2024

noreferrer is only required for IE 11 and lower, which we don't support anymore, so the eslint config needs to change.

Then, the question is when do we want to use noreferrer? By default it lets the site we link know that we link them, it sounds like a positive thing overall.

For sponsor links, we definitely don't want to have noreferrer.

I think we must keep noreferrer on the templates / examples, as we don't want developers using the default config of eslint to have a warning when they copy & paste our content. We can wait for eslint to change their default, I reported the problem at jsx-eslint/eslint-plugin-react#3672.

@oliviertassinari oliviertassinari added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Jan 6, 2024
data-ga-event-action="docs-premium"
data-ga-event-label="octopus.com"
href="https://octopus.com/?utm_source=materialui&utm_medium=referral"
rel="noopener noreferrer sponsored"
Copy link
Member Author

@oliviertassinari oliviertassinari Jan 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On a sponsor link, it cripples their analytics 🙈

@mui-bot
Copy link

mui-bot commented Jan 6, 2024

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against f44f1e8

@oliviertassinari oliviertassinari added the type: bug It doesn't behave as expected. label Jan 6, 2024
@oliviertassinari oliviertassinari merged commit 97c3b46 into mui:master Jan 7, 2024
@oliviertassinari oliviertassinari deleted the target-ie11 branch January 7, 2024 19:33
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
oliviertassinari added a commit to mui/mui-x that referenced this pull request Mar 10, 2024
oliviertassinari added a commit that referenced this pull request Mar 10, 2024
I missed those from #40447.
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants