Skip to content
Permalink
Browse files
Added Linting Errors
The git hooks need to be tested.

Added an error to both the markdown and js scripts to check they are working.
  • Loading branch information
aa7401 committed Oct 15, 2019
1 parent 534c3c3 commit 4c5986da7d22ea3a90d931596e5f456b7a64d6c1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
@@ -1,3 +1,4 @@
#!/bin/sh

echo "running the 'post-commit' script"
./node_modules/.bin/markdownlint --ignore node_modules .
@@ -1,3 +1,4 @@
#!/bin/sh

echo "running the 'pre-commit' script"
./node_modules/.bin/eslint .
@@ -1,6 +1,5 @@

# Assignment Template

This repository contains the base files for the assignment. You will need to create a _private duplicate_ in your module organisation. Carry out the following steps, taken from the [GitHub documentation](https://help.github.com/en/enterprise/2.16/user/articles/duplicating-a-repository):

Temporarily clone this repository to your development computer. This will create a directory on your computer called `temp` which contains the repository files:
@@ -16,7 +15,6 @@ Mirror Push to this new repository, replacing xxx with the url from the clipboar
Once you are sure the code is in your new repository, delete the temporary local repository.

`cd .. && rm -rf temp/`

Your private repository on GitHub will now contain a complete copy of this template including the commits that were already made. You can now start your assignment by carrying out the following steps:

Clone your private repository
@@ -5,7 +5,7 @@
'use strict'

/* MODULE IMPORTS */
const Koa = require('koa')
const Koa = require('koa');
const Router = require('koa-router')
const views = require('koa-views')
const staticDir = require('koa-static')

0 comments on commit 4c5986d

Please sign in to comment.