mediamonks / frontend-coding-standards

Media.Monks - Frontend Coding Standards
60 stars 23 forks source link

Same Code in Good and Bad Examples in README.md #103

Open aa25g15 opened 2 years ago

aa25g15 commented 2 years ago

CSS Section -> Selectors are placed on separate lines:

/* Good */
h1,
h2,
h3 {
  text-transform: uppercase;
}

/* Bad */
h1,
h2,
h3 {
  text-transform: uppercase;
}

Notice the Good and Bad examples are the same.

CSS Section -> Properties have their own unique line:

/* Good */
.gallery {
  background: #000;
  color: #fff;
}

/* Bad */
.gallery {
  background: #000;
  color: #fff;
}

Notice the Good and Bad examples are the same.

ThaNarie commented 2 years ago

Thanks for reporting!

Might be caused by automatic formatting.

aa25g15 commented 2 years ago

You are welcome!