summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-07-03 03:05:59 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-07-05 06:51:10 +0300
commit15599cbc977af3bc2a94365adc6687ca5e2bde04 (patch)
treefd4c0022ed9e2059fb5e979332cb247627d077f0 /doc/api
parent5100cc6851e5513b9e11f7e6244436ba48c79f2b (diff)
downloadandroid-node-v8-15599cbc977af3bc2a94365adc6687ca5e2bde04.tar.gz
android-node-v8-15599cbc977af3bc2a94365adc6687ca5e2bde04.tar.bz2
android-node-v8-15599cbc977af3bc2a94365adc6687ca5e2bde04.zip
tools: update: eslint-plugin-markdown@1.0.0-beta.7
* Remove pinning of eslint-plugin-markdown An issue affecting Node.js source has been fixed in eslint-plugin-markdown so we don't need to pin it to beta-4 anymore. Refs: https://github.com/eslint/eslint-plugin-markdown/issues/69 * Update eslint-plugin-markdown up to 1.0.0-beta.7 * Fix docs for eslint-plugin-markdown@1.0.0-beta.7 PR-URL: https://github.com/nodejs/node/pull/14047 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/dns.md12
-rw-r--r--doc/api/http.md2
-rw-r--r--doc/api/os.md2
-rw-r--r--doc/api/process.md10
-rw-r--r--doc/api/querystring.md2
-rw-r--r--doc/api/repl.md14
-rw-r--r--doc/api/v8.md2
7 files changed, 22 insertions, 22 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 3813712305..b4d078bbb8 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -65,7 +65,7 @@ section if a custom port is used.
For example:
-<!-- eslint-disable -->
+<!-- eslint-disable semi-->
```js
[
'4.4.4.4',
@@ -314,7 +314,7 @@ function will contain an array of objects with the following properties:
For example:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
flags: 's',
@@ -374,7 +374,7 @@ be an object with the following properties:
* `expire`
* `minttl`
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
nsname: 'ns.example.com',
@@ -405,7 +405,7 @@ be an array of objects with the following properties:
* `port`
* `name`
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
priority: 10,
@@ -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' },
{ type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
{ type: 'SOA',
nsname: 'ns1.example.com',
diff --git a/doc/api/http.md b/doc/api/http.md
index 6b152c522e..a9e9cd3876 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -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',
diff --git a/doc/api/os.md b/doc/api/os.md
index 6afa69d39e..3b4b9526cb 100644
--- a/doc/api/os.md
+++ b/doc/api/os.md
@@ -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: [
diff --git a/doc/api/process.md b/doc/api/process.md
index 9a8323de17..82d8541099 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -528,7 +528,7 @@ running the `./configure` script.
An example of the possible output looks like:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
target_defaults:
@@ -792,7 +792,7 @@ See environ(7).
An example of this object looks like:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
TERM: 'xterm-256color',
@@ -1224,7 +1224,7 @@ console.log(process.memoryUsage());
Will generate:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
rss: 4935680,
@@ -1396,7 +1396,7 @@ tarball.
For example:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
name: 'node',
@@ -1758,7 +1758,7 @@ console.log(process.versions);
Will generate an object similar to:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
http_parser: '2.3.0',
diff --git a/doc/api/querystring.md b/doc/api/querystring.md
index 9216414f8a..c6b89235c1 100644
--- a/doc/api/querystring.md
+++ b/doc/api/querystring.md
@@ -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',
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 9d6bdfb112..d18b34a5ea 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -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)
@@ -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
@@ -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
@@ -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');
```
@@ -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' ]
@@ -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
@@ -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];
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 32b0fe71ee..e9ee98a484 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -116,7 +116,7 @@ swapped out by the operating system.
For example:
-<!-- eslint-disable -->
+<!-- eslint-skip -->
```js
{
total_heap_size: 7326976,