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

Create lint rules for CSS class names/variables #135

Open
szuperaz opened this issue Jun 22, 2022 · 0 comments
Open

Create lint rules for CSS class names/variables #135

szuperaz opened this issue Jun 22, 2022 · 0 comments
Labels
enhancement New feature or request infrastructure

Comments

@szuperaz
Copy link
Collaborator

szuperaz commented Jun 22, 2022

  • All CSS class names and variables should start with str-chat__
  • CSS variable names follow kebab-case
  • CSS class names follow BEM structure -> I'm not sure how many exceptions there are currently, also I'm not sure how well BEM conventions can be enforced with lint rules (how do you know what is a modifier?), but it'd probably also be a good idea to reference the convention in the readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant