- Global
- Identation
- Commits
- English
- Task number
- Status
- Message convention
- HTML
- Syntax
- Comments
- Character Encoding
- Attribute Order
- Performance
- Base Code
- CSS
- Syntax
- Comments
- Declaration Order
- Name
- Performance
- Media Queries
- Javascript
- Syntax
- Comments
- Variables
- Performance
The indentation style is using tab soft and the size of the indentation is 2.
<!-- Good -->
<section>
<h3 class="title"></h3>
<p class="text"></p>
</section>
<!-- Bad -->
<section>
<h3 class="title"></h3>
<p class="text"></p>
</section>/* Good */
.item {
background: red;
color: white;
}
/* Bad */
.item {
background: red;
color: white;
}Example configuration file (.editorconfig):
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false