Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: update eslint-plugin-markdown up to 1.0.0-beta.7 #14047

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/api/dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ section if a custom port is used.

For example:

<!-- eslint-disable -->
<!-- eslint-disable semi-->
```js
[
'4.4.4.4',
Expand Down Expand Up @@ -314,7 +314,7 @@ function will contain an array of objects with the following properties:

For example:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
flags: 's',
Expand Down Expand Up @@ -374,7 +374,7 @@ be an object with the following properties:
* `expire`
* `minttl`

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
nsname: 'ns.example.com',
Expand Down Expand Up @@ -405,7 +405,7 @@ be an array of objects with the following properties:
* `port`
* `name`

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
priority: 10,
Expand Down Expand Up @@ -459,12 +459,12 @@ will be present on the object:

Here is a example of the `ret` object passed to the callback:

<!-- eslint-disable -->
<!-- eslint-disable semi -->
```js
[ { type: 'A', address: '127.0.0.1', ttl: 299 },
{ type: 'CNAME', value: 'example.com' },
{ type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
{ type: 'NS', value: 'ns1.example.com', type: 'NS' },
{ type: 'NS', value: 'ns1.example.com' },
Copy link
Contributor Author

@vsemozhetbyt vsemozhetbyt Jul 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix illustrates why we should use rule-disabling instead of full disabling when it is possible.

{ type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
{ type: 'SOA',
nsname: 'ns1.example.com',
Expand Down
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ user is able to stream data.

HTTP message headers are represented by an object like this:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{ 'content-length': '123',
'content-type': 'text/plain',
Expand Down
2 changes: 1 addition & 1 deletion doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ The properties available on the assigned network address object include:
* `scopeid` {number} The numeric IPv6 scope ID (only specified when `family`
is `IPv6`)

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
lo: [
Expand Down
10 changes: 5 additions & 5 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ running the `./configure` script.

An example of the possible output looks like:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
target_defaults:
Expand Down Expand Up @@ -792,7 +792,7 @@ See environ(7).

An example of this object looks like:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
TERM: 'xterm-256color',
Expand Down Expand Up @@ -1224,7 +1224,7 @@ console.log(process.memoryUsage());

Will generate:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
rss: 4935680,
Expand Down Expand Up @@ -1396,7 +1396,7 @@ tarball.

For example:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
name: 'node',
Expand Down Expand Up @@ -1758,7 +1758,7 @@ console.log(process.versions);

Will generate an object similar to:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
http_parser: '2.3.0',
Expand Down
2 changes: 1 addition & 1 deletion doc/api/querystring.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ collection of key and value pairs.

For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
foo: 'bar',
Expand Down
14 changes: 7 additions & 7 deletions doc/api/repl.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The following special commands are supported by all REPL instances:
`> .load ./file/to/load.js`
* `.editor` - Enter editor mode (`<ctrl>-D` to finish, `<ctrl>-C` to cancel)

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
> .editor
// Entering editor mode (^D to finish, ^C to cancel)
Expand Down Expand Up @@ -76,7 +76,7 @@ evaluation function when the `repl.REPLServer` instance is created.

The default evaluator supports direct evaluation of JavaScript expressions:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
> 1 + 1
2
Expand Down Expand Up @@ -105,7 +105,7 @@ repl.start('> ').context.m = msg;

Properties in the `context` object appear as local within the REPL:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
$ node repl_test.js
> m
Expand Down Expand Up @@ -135,7 +135,7 @@ REPL environment when used. For instance, unless otherwise declared as a
global or scoped variable, the input `fs` will be evaluated on-demand as
`global.fs = require('fs')`.

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
> fs.createReadStream('./some/file');
```
Expand All @@ -146,7 +146,7 @@ The default evaluator will, by default, assign the result of the most recently
evaluated expression to the special variable `_` (underscore).
Explicitly setting `_` to a value will disable this behavior.

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
> [ 'a', 'b', 'c' ]
[ 'a', 'b', 'c' ]
Expand Down Expand Up @@ -293,7 +293,7 @@ r.on('reset', initializeContext);
When this code is executed, the global `'m'` variable can be modified but then
reset to its initial value using the `.clear` command:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
$ ./node example.js
> m
Expand Down Expand Up @@ -443,7 +443,7 @@ Node.js itself uses the `repl` module to provide its own interactive interface
for executing JavaScript. This can be used by executing the Node.js binary
without passing any arguments (or by passing the `-i` argument):

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
$ node
> const a = [1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ swapped out by the operating system.

For example:

<!-- eslint-disable -->
<!-- eslint-skip -->
```js
{
total_heap_size: 7326976,
Expand Down
11 changes: 0 additions & 11 deletions tools/eslint/node_modules/ccount/history.md

This file was deleted.

46 changes: 0 additions & 46 deletions tools/eslint/node_modules/ccount/index.js

This file was deleted.

57 changes: 0 additions & 57 deletions tools/eslint/node_modules/ccount/readme.md

This file was deleted.

Loading