1
Fork 0

Added spell check to content

This commit is contained in:
Jake Howard 2016-04-24 21:28:03 +01:00
parent 0914ced798
commit 83f341f3ba
3 changed files with 46 additions and 1 deletions

38
.spelling Normal file
View file

@ -0,0 +1,38 @@
# 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
Django
SQLite
eg
MyWindowsHosting
nginx
backends
PyGame
easter
_Enabler
Hipchat
DabApps
JakeSidSmith
facepalm
notsureif
wat
premis
hipchat
plugin
firefox
Jetpack
Javascript
facebook
github
morse
wikipedia
iframe
querystring
javascript
jQuery
gists
Lenovo
Collyer's
til

View file

@ -13,7 +13,8 @@
"watch-less": "watch 'npm run build-less' static/src/less/",
"watch": "npm run watch-less",
"clean": "./scripts/clean.js",
"test": "npm run lint"
"test": "npm run lint",
"spellcheck": "mdspell --en-gb -ranx \"templates/**/*.*\""
},
"repository": {
"type": "git",
@ -40,6 +41,7 @@
"eslint-plugin-react": "=3.4.2",
"less": "=2.5.1",
"less-mixins": "git://github.com/RealOrangeOne/less-mixins.git",
"markdown-spellcheck": "=0.10.0",
"postcss-cli": "=2.5.1",
"react-tools": "=0.13.2",
"uglify-js": "=2.4.24",

View file

@ -59,4 +59,9 @@ print("{}All Python tests passed! {}Testing Static Files...".format(Fore.GREEN,
EXIT_CODE = os.system('npm test')
check_if_exit_code()
print("{}All static tests passed! {}Running spell check...".format(Fore.GREEN, Fore.YELLOW))
EXIT_CODE = os.system('')
check_if_exit_code()
print("{}All Tests Passed!".format(Fore.GREEN))