aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Harley2018-02-22 18:09:30 +0000
committerTom Harley2018-02-22 18:09:30 +0000
commit16654aa4204f22465bc250ef70300b510c84a2bb (patch)
tree725ccb6573c5b0a1f640a43aa65eaf40a8fa0d45
parentEdit file formats to comply with .editorconfig (diff)
downloadmedicine-16654aa4204f22465bc250ef70300b510c84a2bb.tar.gz
medicine-16654aa4204f22465bc250ef70300b510c84a2bb.zip

Add exception to .editorconfig for spaces in YAMLs

-rw-r--r--.editorconfig3
-rw-r--r--.gitlab-ci.yml28
2 files changed, 17 insertions, 14 deletions
diff --git a/.editorconfig b/.editorconfig
index 4b8b3e1..9b6ac5c 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,3 +7,6 @@ charset = utf-8
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
+
+[*.y*ml]
+indent_style = space
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b2a204..d4ba66e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,25 +1,25 @@
image: node:9.1.0
services:
- - postgres:10.0
+ - postgres:10.0
cache:
- untracked: true
+ untracked: true
stages:
- - build
- - test
+ - build
+ - test
install:
- stage: build
- script:
- - npm install --global yarn
- - yarn
+ stage: build
+ script:
+ - npm install --global yarn
+ - yarn
mocha:
- stage: test
- script:
- - yarn test
+ stage: test
+ script:
+ - yarn test
lint:
- stage: test
- script:
- - yarn run _gl-lint
+ stage: test
+ script:
+ - yarn run _gl-lint