Skip to content

Commit

Permalink
fix(markdownlint): ignore CHANGELOG on pre-commit (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Feb 8, 2018
1 parent 324017f commit 0b27b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"eslint --fix --no-ignore",
"git add"
],
"*.md": "markdownlint"
"*.md": "markdownlint --ignore CHANGELOG.md"
},
"standard-version": {
"message": "chore(release): new version %s"
Expand Down
2 changes: 1 addition & 1 deletion test/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ suite('init', () => {

assert.deepStrictEqual(pkg['lint-staged'], {
'*.{js,jsx,mjs}': ['eslint --fix --no-ignore', 'git add'],
'*.md': 'markdownlint',
'*.md': 'markdownlint --ignore CHANGELOG.md',
'*.css': 'xyz',
})

Expand Down

0 comments on commit 0b27b2e

Please sign in to comment.