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

Enable shorthand-property stylelint rule #734

Open
SpaNb4 opened this issue Jan 16, 2025 · 0 comments
Open

Enable shorthand-property stylelint rule #734

SpaNb4 opened this issue Jan 16, 2025 · 0 comments
Labels

Comments

@SpaNb4
Copy link
Collaborator

SpaNb4 commented Jan 16, 2025

๐Ÿ“ Describe the refactoring task

  1. Enable the following stylelint rule "shorthand-property-no-redundant-values"
  2. Run npm run stylelint:fix

๐Ÿ› ๏ธ Suggested improvement

Stylelint will automatically shorten redundant shorthand property values (e.g. margin: 10px 10px 10px 10px to margin: 10px).

โœ… Definition of Done (DoD):

  • shorthand-property-no-redundant-values rule is enabled in stylelint config.
  • npm run stylelint runs without errors.
  • No redundant shorthand values exist in the codebase
@SpaNb4 SpaNb4 added this to RS Site Jan 16, 2025
@ansivgit ansivgit moved this to Backlog in RS Site Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant