Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

6

history.md

@@ -5,2 +5,8 @@ <!--remark setext-->

2.0.3 / 2016-01-06
==================
* Fix silent warnings for invalid options ([aada8e8](https://github.com/wooorm/remark-lint/commit/aada8e8))
* Add list of external rules to `readme.md` ([298b33a](https://github.com/wooorm/remark-lint/commit/298b33a))
2.0.2 / 2015-12-27

@@ -7,0 +13,0 @@ ==================

4

lib/rules/code-block-style.js

@@ -9,3 +9,3 @@ /**

*
* Options: `string`, either `'consistent'`, `'fences'`, or `'indented'`,
* Options: `string`, either `'consistent'`, `'fenced'`, or `'indented'`,
* default: `'consistent'`.

@@ -87,3 +87,3 @@ *

file.fail('Invalid code block style `' + preferred + '`: use either `\'consistent\'`, `\'fenced\'`, or `\'indented\'`');
done();
return;

@@ -90,0 +90,0 @@ }

@@ -60,2 +60,3 @@ /**

file.fail('Invalid emphasis marker `' + preferred + '`: use either `\'consistent\'`, `\'*\'`, or `\'_\'`');
done();

@@ -62,0 +63,0 @@ return;

@@ -80,2 +80,3 @@ /**

file.fail('Invalid fenced code marker `' + preferred + '`: use either `\'consistent\'`, `` \'\`\' ``, or `\'~\'`');
done();

@@ -82,0 +83,0 @@ return;

@@ -82,2 +82,3 @@ /**

file.fail('Invalid link title style marker `' + preferred + '`: use either `\'consistent\'`, `\'"\'`, `\'\\\'\'`, or `\'()\'`');
done();

@@ -84,0 +85,0 @@ return;

@@ -89,2 +89,3 @@ /**

file.fail('Invalid list-item indent style `' + preferred + '`: use either `\'tab-size\'`, `\'space\'`, or `\'mixed\'`');
done();

@@ -91,0 +92,0 @@ return;

@@ -75,2 +75,3 @@ /**

file.fail('Invalid ordered list-item marker style `' + preferred + '`: use either `\'.\'` or `\')\'`');
done();

@@ -77,0 +78,0 @@ return;

@@ -91,2 +91,3 @@ /**

file.fail('Invalid ordered list-item marker value `' + preferred + '`: use either `\'ordered\'` or `\'one\'`');
done();

@@ -93,0 +94,0 @@ return;

@@ -69,2 +69,3 @@ /**

file.fail('Invalid preferred rule-style: provide a valid markdown rule, or `\'consistent\'`');
done();

@@ -71,0 +72,0 @@ return;

@@ -80,2 +80,3 @@ /**

file.fail('Invalid unordered list-item marker style `' + preferred + '`: use either `\'-\'`, `\'*\'`, or `\'+\'`');
done();

@@ -82,0 +83,0 @@ return;

{
"name": "remark-lint",
"version": "2.0.2",
"version": "2.0.3",
"description": "Lint markdown with remark",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -25,2 +25,3 @@ # ![remark-lint](https://cdn.rawgit.com/wooorm/remark-lint/master/logo.svg)

* [Editor Integrations](#editor-integrations)
* [List of External Rules](#list-of-external-rules)
* [Related](#related)

@@ -161,9 +162,29 @@ * [License](#license)

Currently, **remark-lint** is integrated with Atom through [**leipert/linter-markdown**](https://atom.io/packages/linter-markdown).
Currently, **remark-lint** is integrated with Atom through [**linter-markdown**](https://atom.io/packages/linter-markdown).
I’m very interested in more integrations. Let me know if I can help.
## List of External Rules
* [`chcokr/mdast-lint-sentence-newline`](https://github.com/chcokr/mdast-lint-sentence-newline)
— Ensure sentences are followed by a newline;
* [`vhf/remark-lint-alphabetize-lists`](https://github.com/vhf/remark-lint-alphabetize-lists)
— Ensure list items are in alphabetical order;
* [`vhf/remark-lint-blank-lines-1-0-2`](https://github.com/vhf/remark-lint-blank-lines-1-0-2)
— Ensure a specific number of lines between blocks;
* [`vhf/remark-lint-books-links`](https://github.com/vhf/remark-lint-books-links)
— Ensure links in lists of books follow a standard format;
* [`vhf/remark-lint-no-empty-sections`](https://github.com/vhf/remark-lint-no-empty-sections)
— Ensure every heading is followed by content (forming a section);
* [`vhf/remark-lint-no-url-trailing-slash`](https://github.com/vhf/remark-lint-no-url-trailing-slash)
— Ensure that the `href` of links has no trailing slash.
## Related
* [`remark-validate-links`](https://github.com/wooorm/remark-validate-links)
* [`wooorm/remark-validate-links`](https://github.com/wooorm/remark-validate-links)
— Validate if links point to existing headings and files in markdown.

@@ -170,0 +191,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc