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

Refresh Scss sample #694

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Refresh Scss sample #694

merged 1 commit into from
Jan 31, 2024

Conversation

nickcharlton
Copy link
Member

No description provided.

Co-authored-by: Luke Mitchell <[email protected]>
.class-one {
background-color: $color-variable;
border: 0;
line-height: 1.5;
text-size: 0.5rem;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected unknown property "text-size" property-no-unknown

@@ -1,10 +1,16 @@
@import "partial-name";

$color-variable: #ffffff;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected "#ffffff" to be "#fff" color-hex-length

@nickcharlton
Copy link
Member Author

@LkeMitchll, I pulled the sample you helped with on thoughtbot/stylelint-config#51, let me know if there's anything else you think that's worth doing here!

@nickcharlton
Copy link
Member Author

I'd normally wait for a PR on a project such as guides for over a week for feedback, but the intent of this has been to improve our example enough that we could make substantial improvements to stylelint-config, so I'm going to go ahead and merge this.

I would encourage others — with stronger feelings on CSS style than me! — to open new issues if we'd like to change, or simplify our rules. Plus we probably need to do something about Hound too.

@nickcharlton nickcharlton merged commit b799bb8 into main Jan 31, 2024
1 check passed
@nickcharlton nickcharlton deleted the nc-refresh-css-sample branch January 31, 2024 16:11
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

Successfully merging this pull request may close these issues.

2 participants