From 227f50821aa0c56b94c0099ad36b050b56ea1826 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz>
Date: Sun, 22 Jan 2017 15:43:22 +0100
Subject: [PATCH] Enabled spell check in CI

---
 .gitlab-ci.yml |  8 ++++++++
 .spelling      | 11 +++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 .spelling

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8dda72f8..d02dcd173 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,14 @@ two spaces:
   - echo "== Files having more than one space betwee two characters =="
   - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]]  [[:alpha:]]" -l {} +
 
+spell check:
+  stage: test
+  image: node:latest
+  allow_failure: true
+  script:
+  - npm i markdown-spellcheck -g
+  - mdspell '**/*.md' '!docs.it4i/module*.md' -rn --en-us
+
 ext_links:
   stage: test
   image: davidhrbac/docker-mdcheck:latest
diff --git a/.spelling b/.spelling
new file mode 100644
index 000000000..cbbdd7d03
--- /dev/null
+++ b/.spelling
@@ -0,0 +1,11 @@
+# markdown-spellcheck spelling configuration file
+# Format - lines beginning # are comments
+# global dictionary is at the start, file overrides afterwards
+# one word per line, to define a file override use ' - filename'
+# where filename is relative to this configuration file
+Anselm
+IT4I
+IT4Innovations
+PBS
+Salomon
+TurboVNC
-- 
GitLab