Skip to content

Commit

Permalink
Add markdownlint to check README.md formatting (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
brantburnett authored Mar 17, 2018
1 parent 7df8db8 commit 4d80072
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"line-length": false
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
app/
.git*
.eslint*
.markdownlint*
.babelrc
gulpfile.js
example/
Expand Down
128 changes: 128 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "gulp build",
"clean": "gulp clean",
"lint": "eslint ./"
"lint": "eslint ./ && markdownlint -i node_modules ./**/*.md"
},
"bin": {
"couchbase-index-manager": "bin/couchbase-index-manager"
Expand Down Expand Up @@ -44,7 +44,8 @@
"gulp": "^3.9.1",
"gulp-babel": "^7.0.1",
"gulp-plumber": "^1.2.0",
"gulp-sourcemaps": "^2.6.4"
"gulp-sourcemaps": "^2.6.4",
"markdownlint-cli": "^0.7.1"
},
"dependencies": {
"babel-runtime": "^6.26.0",
Expand Down

0 comments on commit 4d80072

Please sign in to comment.