View all rules

S2 Use editorconfig logic for file indentation

Editorconfig is a way to get rid of the spaces vs tabs discussion. It sets up your editor automatically based on conventions in an .editorconfig config file contained in the project. When this rule is called, your code does not accord to whatever is set up in editorconfig.

    
.button {
    background: blue;
    padding: 10px 8px;
}
    
    
.c-button {
    background: blue;
    padding: 10px 8px;
}