We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b52893 commit 89f7ec3Copy full SHA for 89f7ec3
lib/rules/component-data.js
@@ -25,8 +25,7 @@ function create (context) {
25
.filter(p =>
26
p.key.type === 'Identifier' &&
27
p.key.name === 'data' &&
28
- p.value.type !== 'FunctionExpression' &&
29
- p.value.type !== 'ArrowFunctionExpression'
+ p.value.type !== 'FunctionExpression'
30
)
31
32
dataPropertiesNode.forEach(cp => {
0 commit comments