Commit 315b660b authored by nikogu's avatar nikogu

add style lint

parent c271a7b7
......@@ -4,7 +4,8 @@
"scripts": {
"start": "roadhog server",
"build": "roadhog build",
"lint": "eslint --ext .js src mock tests",
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src mock tests && npm run lint:style",
"precommit": "npm run lint",
"site": "roadhog-api-doc static",
"test": "jest",
......@@ -49,7 +50,9 @@
"react-test-renderer": "^15.6.1",
"redbox-react": "^1.3.2",
"roadhog": "^1.0.2",
"roadhog-api-doc": "^0.1.5"
"roadhog-api-doc": "^0.1.5",
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0"
},
"babel": {
"presets": [
......
......@@ -12,7 +12,7 @@
line-height: 64px;
padding-left: 32px;
transition: all .3s;
background: #00284D;
background: #00284d;
overflow: hidden;
img {
display: inline-block;
......@@ -25,7 +25,7 @@
vertical-align: middle;
font-size: 22px;
margin-left: 12px;
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
margin-top: -2px;
}
}
......
......@@ -33,7 +33,7 @@
.title {
font-size: 33px;
color: @heading-color;
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
position: relative;
top: -2px;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment