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

feat: add prefer-logical-properties rule #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

azat-io
Copy link

@azat-io azat-io commented Feb 22, 2025

Prerequisites checklist

What is the purpose of this pull request?

Add new rule.

What changes did you make? (Give an overview)

Added new rule for usage logical CSS properties instead of phisical.

Related Issues

#13

Is there anything you'd like reviewers to focus on?

I don't think so.

@azat-io azat-io force-pushed the feat/prefer-logical-properties branch from 7df50ab to a0ded50 Compare February 22, 2025 15:18
@nzakas
Copy link
Member

nzakas commented Feb 24, 2025

Thanks for getting this started. There were some edge cases that were discussed in the original issue:

#13 (comment)
#13 (comment)

Can you describe how you're handling those?

@azat-io
Copy link
Author

azat-io commented Feb 24, 2025

I don't think we need to have an option to exclude certain properties. Since all properties have roughly the same support by browsers. With the exception of logical units only.

What options would you like to see in the rule?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants