Lint before testing

This commit is contained in:
Aarni Halinen
2019-11-09 18:38:14 +02:00
parent 2fab650686
commit 08656bff99
3 changed files with 24 additions and 20 deletions
+5
View File
@@ -26,6 +26,11 @@
"react",
"@typescript-eslint"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"arrow-parens": ["off", "always"],
"comma-dangle": [
+13 -13
View File
@@ -1,7 +1,7 @@
stages:
- setup
- test
- lint
- test
- publish
- deploy
@@ -15,18 +15,6 @@ setup:
script:
- npm ci
# test:unit:
# image: node:12
# stage: test
# script:
# - npm run test:unit
test:e2e:
image: circleci/node:12-browsers
stage: test
script:
- npm run test:e2e
es:lint:
image: node:12
stage: lint
@@ -39,6 +27,18 @@ sass:lint:
script:
- npm run lint:sass
# test:unit:
# image: node:12
# stage: test
# script:
# - npm run test:unit
test:e2e:
image: circleci/node:12-browsers
stage: test
script:
- npm run test:e2e
publish:
stage: publish
image: docker:stable
@@ -1,5 +1,11 @@
@import "../../assets/scss/globals";
.signup-create-page {
a {
color: color(orange1);
text-decoration: underline;
}
}
.admin-signup-page {
table {
@@ -18,10 +24,3 @@
}
}
}
.signup-create-page {
a {
color: color(orange1);
text-decoration: underline;
}
}