add style lint
Showing
| ... | ... | @@ -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": [ | ||
| ... | ... | 
Please register or sign in to comment