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

Fix/prefix ids sameline comments #1942

Merged
merged 3 commits into from
Jan 23, 2024

Commits on Jan 22, 2024

  1. Ignore vim swap files

    john-neptune committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    878d7f5 View commit details
    Browse the repository at this point in the history
  2. Fix prefixing classes on same line as a comment

    Before, this worked:
    <style>
    .cls-1 {}
    <!-- foo -->
    .cls-2 {}
    </style>
    
    but this failed:
    <style>
    .cls-1 {} <!-- foo -->
    .cls-2 {}
    </style>
    
    .cls-1 would be prefixed, but .cls-2 and subsquent classes would not.
    
    The root cause is an empty return that was missed during a refactor to
    switch from forEach() with a lambda to a for () loop.
    
    Add a new test to cover this case.
    john-neptune committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    8cefdbe View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Update .gitignore

    Co-authored-by: Seth Falco <seth@falco.fun>
    john-neptune and SethFalco authored Jan 23, 2024
    Configuration menu
    Copy the full SHA
    5143387 View commit details
    Browse the repository at this point in the history