Closed ModulesUnraveled closed 2 years ago
Everything seems to work great except bullet point two.
It successfully caught the broken JS I tried to commit, but not the broken CSS. Here's what I did: (no semi-colon, mismatched closing brackets)
.main-nav {
display: none! @include medium {
@ryanhagerty After looking through the docs, I don't think this particular issue is something stylelint checks for. I search all of the "semicolon" related rules, and didn't find anything for this: https://stylelint.io/user-guide/rules/list/
An error like this should prevent the commit:
body .main-nav {
display: block;
}
/* Nav */
.main-nav {
display: none;
}
:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Summary This PR fixes/implements the following bugs/features
How to review this PR
nvm use && npm install
git commit -am "awesome commit"
and verify the commit is blocked because of the invalid message.git commit -am "feat: awesome feature"
and verify the commit succeeds