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

Stylelint improvements #258

Open
EECOLOR opened this issue Dec 27, 2023 · 0 comments
Open

Stylelint improvements #258

EECOLOR opened this issue Dec 27, 2023 · 0 comments

Comments

@EECOLOR
Copy link
Member

EECOLOR commented Dec 27, 2023

.abc {
  position: 'relative';

  &.def { 
    position: 'static';
  }

  & > .ghi {
    position: 'absolute';
  }
}

position: 'static' mag niet wanneer 1 van de kinderen op 'absolute' is gezet. Hierdoor breekt het absolute kind uit. Wellicht dat dit voor de andere relative dingen ook geldt.


text-align zou eigenlijk alleen mogen op 'leaf' components, probleem is dat we dit niet kunnen weten. Geen idee hoe we dit zouden moeten oplossen in de linter.


:has(...) heeft nog geen regels. Dit gaat echter wel gemakkelijk buiten de standaard regels om volgens mij.

has

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

No branches or pull requests

1 participant