Skip to content

Commit 60e7c48

Browse files
committed
style: run lint
1 parent ce93fa6 commit 60e7c48

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

lib/rules/no-use-computed-property-like-method.js

+5-8
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ const getValueType = ({ property, propertyMap }) => {
115115
returnStatement.argument.property.type === 'Identifier'
116116
)
117117
return {
118-
type:
119-
propertyMap[returnStatement.argument.property.name].valueType
120-
.type
118+
type: propertyMap[returnStatement.argument.property.name]
119+
.valueType.type
121120
}
122121

123122
if (
@@ -127,9 +126,8 @@ const getValueType = ({ property, propertyMap }) => {
127126
returnStatement.argument.callee.property.type === 'Identifier'
128127
)
129128
return {
130-
type:
131-
propertyMap[returnStatement.argument.callee.property.name]
132-
.valueType.type
129+
type: propertyMap[returnStatement.argument.callee.property.name]
130+
.valueType.type
133131
}
134132
}
135133

@@ -190,8 +188,7 @@ module.exports = {
190188
docs: {
191189
description: 'disallow use computed property like method',
192190
categories: undefined,
193-
url:
194-
'https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html'
191+
url: 'https://eslint.vuejs.org/rules/no-use-computed-property-like-method.html'
195192
},
196193
fixable: null,
197194
schema: [],

0 commit comments

Comments
 (0)