junebug12851/pokered-save-editor

View on GitHub
src/app/fragments/gym-button/gym-button.component.scss

Summary

Maintainability
Test Coverage
Use `//` comments everywhere
/**
Copyright 2018 June Hanabi
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
 
button {
Line should be indented 2 spaces, but was indented 4 spaces
Properties should be ordered background-color, border-radius, display, margin-bottom, margin-right, margin-top, min-width
display: inline-block;
Line should be indented 2 spaces, but was indented 4 spaces
margin-top: 10px;
Line should be indented 2 spaces, but was indented 4 spaces
margin-bottom: 10px;
Line should be indented 2 spaces, but was indented 4 spaces
margin-right: 10px;
Line should be indented 2 spaces, but was indented 4 spaces
border-radius: 5px;
Line should be indented 2 spaces, but was indented 4 spaces
min-width: 100px;
Color literals like `hsl(0, 0%, 40%)` should only be used in variable declarations; they should be referred to via variable everywhere else.
Line should be indented 2 spaces, but was indented 4 spaces
background-color: hsl(0, 0%, 40%);
}
 
.gym-btn .gym-leader {
Line should be indented 2 spaces, but was indented 4 spaces
font-size: 15px;
}
 
.gym-btn .gym-badge {
Line should be indented 2 spaces, but was indented 4 spaces
font-size: 20px;
}