aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-08-04 19:12:13 +0300
committerHenry Jameson <me@hjkos.com>2020-08-04 19:12:13 +0300
commit839681bbc70c87110625af11e5a8b5593b59136e (patch)
tree02073bac3370c49a6da6c0c4f07d7b4239c704a2
parent2a1c9e094c719f9dcfc17c70ffd58c068272b6d6 (diff)
add stylelint to CI/npm, only one file for now.
-rw-r--r--.gitlab-ci.yml1
-rw-r--r--package.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 34a91030..85d3ee44 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,7 @@ lint:
script:
- yarn
- npm run lint
+ - npm run stylelint
test:
stage: test
diff --git a/package.json b/package.json
index e289729c..75d9ee56 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"unit:watch": "karma start test/unit/karma.conf.js --single-run=false",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
+ "stylelint": "npx stylelint src/components/status/status.scss",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs",
"lint-fix": "eslint --fix --ext .js,.vue src test/unit/specs test/e2e/specs"
},