mirror of
https://github.com/remarkjs/remark-lint.git
synced 2024-09-11 19:57:15 +03:00
Update mdast
This commit is contained in:
parent
5ce6dad5e0
commit
2d122e44db
@ -27,7 +27,7 @@
|
||||
"LICENSE"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"mdast": ">=0.23.0"
|
||||
"mdast": ">=0.25.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify": "^10.0.0",
|
||||
@ -37,7 +37,7 @@
|
||||
"istanbul": "^0.3.0",
|
||||
"jscs": "^1.0.0",
|
||||
"jscs-jsdoc": "^1.0.0",
|
||||
"mdast": "^0.23.0",
|
||||
"mdast": "^0.25.0",
|
||||
"mdast-github": "^0.3.0",
|
||||
"mdast-toc": "^0.5.0",
|
||||
"mdast-yaml-config": "^0.2.0",
|
||||
|
2
test/fixtures/comments-inline.md
vendored
2
test/fixtures/comments-inline.md
vendored
@ -1 +1 @@
|
||||
<!--lint enable no-html--> <span>This is HTML</span>.
|
||||
Foo <!--lint enable no-html--> <span>This is HTML</span>.
|
||||
|
@ -16,4 +16,6 @@ fenced code
|
||||
indented code
|
||||
A normal paragraph.
|
||||
<div>foo</div>
|
||||
|
||||
fooo
|
||||
> blockquote
|
||||
|
@ -277,8 +277,8 @@ describe('Comments', function () {
|
||||
|
||||
describe('Inline comments', function () {
|
||||
assertFile('comments-inline.md', [
|
||||
'comments-inline.md:1:28-1:34: Do not use HTML in markdown',
|
||||
'comments-inline.md:1:46-1:53: Do not use HTML in markdown'
|
||||
'comments-inline.md:1:32-1:38: Do not use HTML in markdown',
|
||||
'comments-inline.md:1:50-1:57: Do not use HTML in markdown'
|
||||
], null, {
|
||||
'reset': true
|
||||
});
|
||||
@ -699,7 +699,7 @@ describe('Rules', function () {
|
||||
'no-missing-blank-lines-invalid.md:16:1-16:18: Missing blank line before block node',
|
||||
'no-missing-blank-lines-invalid.md:17:1-17:20: Missing blank line before block node',
|
||||
'no-missing-blank-lines-invalid.md:18:1-18:15: Missing blank line before block node',
|
||||
'no-missing-blank-lines-invalid.md:19:1-19:13: Missing blank line before block node'
|
||||
'no-missing-blank-lines-invalid.md:21:1-21:13: Missing blank line before block node'
|
||||
]);
|
||||
|
||||
assertFile('no-missing-blank-lines-valid.md', []);
|
||||
|
Loading…
Reference in New Issue
Block a user