Commit 315b660b authored by nikogu's avatar nikogu

add style lint

parent c271a7b7
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
"scripts": { "scripts": {
"start": "roadhog server", "start": "roadhog server",
"build": "roadhog build", "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", "precommit": "npm run lint",
"site": "roadhog-api-doc static", "site": "roadhog-api-doc static",
"test": "jest", "test": "jest",
...@@ -49,7 +50,9 @@ ...@@ -49,7 +50,9 @@
"react-test-renderer": "^15.6.1", "react-test-renderer": "^15.6.1",
"redbox-react": "^1.3.2", "redbox-react": "^1.3.2",
"roadhog": "^1.0.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": { "babel": {
"presets": [ "presets": [
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
line-height: 64px; line-height: 64px;
padding-left: 32px; padding-left: 32px;
transition: all .3s; transition: all .3s;
background: #00284D; background: #00284d;
overflow: hidden; overflow: hidden;
img { img {
display: inline-block; display: inline-block;
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
vertical-align: middle; vertical-align: middle;
font-size: 22px; font-size: 22px;
margin-left: 12px; margin-left: 12px;
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif; font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
margin-top: -2px; margin-top: -2px;
} }
} }
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
.title { .title {
font-size: 33px; font-size: 33px;
color: @heading-color; color: @heading-color;
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif; font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
position: relative; position: relative;
top: -2px; 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