Answer the question
In order to leave comments, you need to log in
How to set up automatic code style checking and validation with Gulp?
Faced the problem of testing the layout, code guide, etc. I don’t understand how experienced front-end developers check a valid code guide.
After looking at some projects on github, I noticed that some use the Csscomb plugin for gulp, but it also styles the already compiled css file, and not the original sass or less files. I can’t figure out how to set it up either in the editor or in Galp so that it edits the source files. Through the editor, I get half of it, I just can’t have an indent between classes automatically (empty line)
.plan {
background: #007090;
.plan__title {
padding-top: 37px;
padding-bottom: 37px;
font-size: 50px;
font-family: KvalikaBold-Bold;
text-align: center;
color: #ffffff;
}
.plan__button-list {
display: block;
max-width: 1170px;
margin: 0 auto;
text-align: center;
.plan__button {
width: 130px;
height: 45px;
margin-right: 6px;
margin-bottom: 10px;
margin-left: 6px;
padding: 1px 20px;
Answer the question
In order to leave comments, you need to log in
Validation from w3c is no longer in trend
Yes - linters are relevant
They are built into IDEA and can be connected separately before the git commit
Makeev - I know, akella - I know
Who is Gromov?
It is also not clear why use someone else's template - if you can file your own
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question