Skip to content

Commit 480367b

Browse files
committed
fix
1 parent e08fe28 commit 480367b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/valid-define-options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = {
9898
def.parent.kind === 'const' &&
9999
def.node.init &&
100100
!['ArrayExpression', 'ObjectExpression'].includes(
101-
def.node.init?.type
101+
def.node.init.type
102102
)
103103
)
104104
return false

0 commit comments

Comments
 (0)