Skip to content

Commit

Permalink
Update markdownlint dependency to 0.9.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed May 20, 2018
1 parent eb7bac3 commit 269a1a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -42,7 +42,7 @@
"glob": "~7.0.3",
"lodash.differencewith": "~4.5.0",
"lodash.flatten": "~4.4.0",
"markdownlint": "~0.8.1",
"markdownlint": "~0.9.0",
"rc": "~1.2.7"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions test/test.js
Expand Up @@ -197,10 +197,10 @@ test('linting results are sorted by file/line/names/description', async t => {
t.fail();
} catch (err) {
const expected = [
'incorrect.md: 1: MD002/first-header-h1 First header should be a top level header [Expected: h1; Actual: h2]',
'incorrect.md: 1: MD022/blanks-around-headers Headers should be surrounded by blank lines [Context: "## header 2"]',
'incorrect.md: 1: MD041/first-line-h1 First line in file should be a top level header [Context: "## header 2"]',
'incorrect.md: 2: MD022/blanks-around-headers Headers should be surrounded by blank lines [Context: "# header"]',
'incorrect.md: 1: MD002/first-heading-h1/first-header-h1 First heading should be a top level heading [Expected: h1; Actual: h2]',
'incorrect.md: 1: MD022/blanks-around-headings/blanks-around-headers Headings should be surrounded by blank lines [Context: "## header 2"]',
'incorrect.md: 1: MD041/first-line-h1 First line in file should be a top level heading [Context: "## header 2"]',
'incorrect.md: 2: MD022/blanks-around-headings/blanks-around-headers Headings should be surrounded by blank lines [Context: "# header"]',
'incorrect.md: 4: MD014/commands-show-output Dollar signs used before commands without showing output [Context: "$ code"]',
'incorrect.md: 10: MD014/commands-show-output Dollar signs used before commands without showing output [Context: "$ code"]',
'incorrect.md: 16: MD014/commands-show-output Dollar signs used before commands without showing output [Context: "$ code"]',
Expand Down

0 comments on commit 269a1a1

Please sign in to comment.