Add style linting and fix problems

This commit is contained in:
Felix Mattick 2019-10-02 12:03:14 -07:00
parent 4eba6d54ac
commit dbc9c50f34
5 changed files with 1051 additions and 48 deletions

View file

@ -6,7 +6,7 @@
"scripts": {
"build": "gulp style",
"dev": "gulp watch",
"lint": "standard --fix",
"lint": "standard --fix && stylelint \"src/*.css\" --fix",
"prepublishOnly": "yarn build"
},
"repository": {
@ -42,7 +42,9 @@
"postcss-css-variables": "^0.12.0",
"postcss-import": "^12.0.1",
"postcss-inline-svg": "^3.1.1",
"standard": "^14.3.1"
"standard": "^14.3.1",
"stylelint": "^11.0.0",
"stylelint-config-standard": "^19.0.0"
},
"browserslist": {
"legacy": [