File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
lib/node_modules/@stdlib/_tools/eslint/rules
jsdoc-list-item-spacing/lib Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ var rule = require( '@stdlib/_tools/eslint/rules/jsdoc-list-item-indent' );
42
42
43
43
** Bad** :
44
44
45
- <!-- eslint-disable stdlib/jsdoc-list-item-indent, stdlib/jsdoc-list-item-indent, stdlib/jsdoc- markdown-remark -->
45
+ <!-- eslint-disable stdlib/jsdoc-list-item-indent, stdlib/jsdoc-markdown-remark -->
46
46
47
47
``` javascript
48
48
/**
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function main( context ) {
55
55
56
56
opts = { } ;
57
57
options = context . options [ 0 ] ;
58
- if ( hasOwnProp ( options , 'checkBlanks' ) ) {
58
+ if ( options && hasOwnProp ( options , 'checkBlanks' ) ) {
59
59
opts . checkBlanks = options . checkBlanks ;
60
60
}
61
61
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ code = [
101
101
' * @module @stdlib/assert/isarray' ,
102
102
' *' ,
103
103
' * @example' ,
104
- ' * var isArray = require( \' @stdlib/assert/is-aray \' );' ,
104
+ ' * var isArray = require( \' @stdlib/assert/is-array \' );' ,
105
105
' *' ,
106
106
' * var bool = isArray( [] );' ,
107
107
' * // returns true' ,
@@ -148,7 +148,7 @@ result = linter.verify( code, {
148
148
'column': 1,
149
149
'nodeType': null,
150
150
'endLine': 14,
151
- 'endColumn': 3 } ]
151
+ 'endColumn': 3
152
152
}
153
153
]
154
154
*/
You can’t perform that action at this time.
0 commit comments