Add stylelint to CIs

pull/21833/head
David Baker 2019-04-09 15:08:04 +01:00
parent 04b69116ee
commit 3727d85487
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ steps:
command:
- "yarn install"
- "yarn lintwithexclusions"
- "yarn stylelint"
plugins:
- docker#v3.0.1:
image: "node:10"

View File

@ -29,6 +29,9 @@ yarn lintall -f checkstyle -o eslint.xml || true
# re-run the linter, excluding any files known to have errors or warnings.
yarn lintwithexclusions
# lint styles
yarn stylelint
# delete the old tarball, if it exists
rm -f matrix-react-sdk-*.tgz