@@ -17,7 +17,7 @@ Asynchronously lints filenames.
1717``` javascript
1818lint ( onLint );
1919
20- function onLint ( error , names ) {
20+ function onLint ( error , filenames ) {
2121 if ( error ) {
2222 throw error;
2323 }
@@ -39,11 +39,11 @@ var opts = {
3939
4040lint ( opts, onLint );
4141
42- function onLint ( error , names ) {
42+ function onLint ( error , filenames ) {
4343 if ( error ) {
4444 throw error;
4545 }
46- console .log ( JSON .stringify ( names ) );
46+ console .log ( JSON .stringify ( filenames ) );
4747}
4848```
4949
@@ -56,11 +56,11 @@ var opts = {
5656
5757lint ( opts, onLint );
5858
59- function onLint ( error , names ) {
59+ function onLint ( error , filenames ) {
6060 if ( error ) {
6161 throw error;
6262 }
63- console .log ( JSON .stringify ( names ) );
63+ console .log ( JSON .stringify ( filenames ) );
6464}
6565```
6666
@@ -69,7 +69,7 @@ function onLint( error, names ) {
6969Synchronously lints filenames.
7070
7171``` javascript
72- var names = lint .sync ();
72+ var filenames = lint .sync ();
7373// returns [...]
7474```
7575
@@ -112,11 +112,11 @@ var lint = require( '@stdlib/tools/lint/filenames' );
112112
113113lint( onLint );
114114
115- function onLint( error, names ) {
115+ function onLint( error, filenames ) {
116116 if ( error ) {
117117 throw error;
118118 }
119- console.log( JSON.stringify( names ) );
119+ console.log( JSON.stringify( filenames ) );
120120}
121121```
122122
0 commit comments