Skip to content

Commit c7bf3cc

Browse files
committed
Enable lint rule and fix examples
1 parent eb453a8 commit c7bf3cc

File tree

19 files changed

+40
-4
lines changed

19 files changed

+40
-4
lines changed

tools/benchmarks/html/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ function clbk( error ) {
7878

7979
## Examples
8080

81+
<!-- eslint no-undef: "error" -->
82+
8183
```javascript
8284
var build = require( '@stdlib/tools/benchmarks/html' );
8385

tools/docs/api/build-docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ build( done );
5353

5454
## Examples
5555

56+
<!-- eslint no-undef: "error" -->
57+
5658
```javascript
5759
var build = require( 'path/to/tools/build-docs' );
5860

tools/lint/pkg-json/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ The function accepts the same `options` as `lint()` above.
131131

132132
## Examples
133133

134+
<!-- eslint no-undef: "error" -->
135+
134136
```javascript
135137
var lint = require( '@stdlib/tools/lint/pkg-json' );
136138

tools/markdown/img-svg-equation/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ var html = createElement( opts );
7979

8080
## Examples
8181

82+
<!-- eslint no-undef: "error" -->
83+
8284
```javascript
8385
var createElement = require( '@stdlib/tools/markdown/img-svg-equation' );
8486

tools/markdown/inline-svg-equation/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ function done( error, out ) {
7979

8080
## Examples
8181

82+
<!-- eslint no-undef: "error" -->
83+
8284
```javascript
8385
var createElement = require( '@stdlib/tools/markdown/inline-svg-equation' );
8486

tools/markdown/to-html/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ function done( error, html ) {
5454

5555
## Examples
5656

57+
<!-- eslint no-undef: "error" -->
58+
5759
```javascript
5860
var join = require( 'path' ).join;
5961
var readFileSync = require( '@stdlib/fs/read-file' ).sync;

tools/markdown/to-vdom/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ var vtree = toVirtualDOM( '# Beep\n\n> Boop!' );
4747

4848
## Examples
4949

50+
<!-- eslint no-undef: "error" -->
51+
5052
```javascript
5153
var join = require( 'path' ).join;
5254
var toHTML = require( 'vdom-to-html' );

tools/markdown/to-vdom/examples/fixtures/fixture.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ function clbk( error, result ) {
5959

6060
## Examples
6161

62+
<!-- eslint no-undef: "error" -->
63+
6264
```javascript
6365
var beep = require( '@stdlib/beep/boop' );
6466

tools/readme/to-html/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ To understand how other `options` affect HTML output, see the HTML template in `
106106

107107
## Examples
108108

109+
<!-- eslint no-undef: "error" -->
110+
109111
```javascript
110112
var resolve = require( 'path' ).resolve;
111113
var convert = require( '@stdlib/tools/readme/to-html' );

tools/remark/plugins/remark-img-equations-src-urls/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ remark.use( insertURLs, opts );
7575

7676
## Examples
7777

78+
<!-- eslint no-undef: "error" -->
79+
7880
```javascript
7981
var toVFile = require( 'to-vfile' );
8082
var remark = require( 'remark' );

0 commit comments

Comments
 (0)