Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove duplicate style properties #16226

Closed
wants to merge 4 commits into from

Conversation

amareshsm
Copy link
Member

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[x] Other, please explain:
In the documentation website removed duplicate style properties.

What changes did you make? (Give an overview)

In the documentation website removed duplicate style properties.

@eslint-github-bot eslint-github-bot bot added triage An ESLint team member will look at this issue soon chore This change is not user-facing labels Aug 22, 2022
@netlify
Copy link

netlify bot commented Aug 22, 2022

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit f727077
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/6315034a5466c70008f271ee
😎 Deploy Preview https://deploy-preview-16226--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@snitin315 snitin315 added documentation Relates to ESLint's documentation accepted There is consensus among the team that this change meets the criteria for inclusion and removed triage An ESLint team member will look at this issue soon chore This change is not user-facing labels Aug 23, 2022
Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

Most of these are intentional duplications: one for browsers that support CSS variables and one for browsers that do not. I think we should leave these in place for best compatibility.

@@ -112,7 +111,6 @@
}

.search .search-results__item__title {
font-size: var(--step-0);
Copy link
Member

Choose a reason for hiding this comment

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

This is intentionally duplicate. The first is used when the browser support variables and the second is used when the browser does not support variables.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added intentional properties and removed only duplicate properties & fixed typos.

@snitin315 snitin315 mentioned this pull request Oct 2, 2022
1 task
font-size: .875rem;
font-size: var(--step-0);
Copy link
Member

Choose a reason for hiding this comment

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

Can we keep the original order here, with the variable version coming first?


:root {
Copy link
Member

Choose a reason for hiding this comment

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

Was this removed accidentally?

@nzakas
Copy link
Member

nzakas commented Oct 21, 2022

@amareshsm are you going to get back to this PR? If not, we can close it.

@snitin315
Copy link
Contributor

Closing in favor of #16466

@snitin315 snitin315 closed this Nov 6, 2022
@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators May 6, 2023
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants