Add stylelint to CIs
This commit is contained in:
parent
04b69116ee
commit
3727d85487
2 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ steps:
|
||||||
command:
|
command:
|
||||||
- "yarn install"
|
- "yarn install"
|
||||||
- "yarn lintwithexclusions"
|
- "yarn lintwithexclusions"
|
||||||
|
- "yarn stylelint"
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "node:10"
|
image: "node:10"
|
||||||
|
|
|
@ -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.
|
# re-run the linter, excluding any files known to have errors or warnings.
|
||||||
yarn lintwithexclusions
|
yarn lintwithexclusions
|
||||||
|
|
||||||
|
# lint styles
|
||||||
|
yarn stylelint
|
||||||
|
|
||||||
# delete the old tarball, if it exists
|
# delete the old tarball, if it exists
|
||||||
rm -f matrix-react-sdk-*.tgz
|
rm -f matrix-react-sdk-*.tgz
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue