Flo Edelmann

Results 458 comments of Flo Edelmann

> For more advanced usage, it is very much required that I can specify the events as props. […] very useful under some circumstances Why? Can you share an example?...

> Using a prop named "onClick" is supported by your rule. So you alteady support event handlers as props. That's just your interpretation. The rule doesn't care about whether a...

> For example, the `vue/no-unused-properties` rule should mark `onClick` prop as used if it was used in `$emit('click')`. No, because the function prop would really be unused in that case....

The options need to be different than in the ESLint core rule, as there is no distinction between line comment and block comment in HTML. Which options do you suggest?

A repository to test this would make debugging a lot easier.

I don't think it should be part of the [`vue/no-unused-properties`](https://eslint.vuejs.org/rules/no-unused-properties.html) rule, because emitting an event is not the same as using a property/variable. But I do like the suggested rule....

Instead of a separate rule, it could maybe be a new option for [vue/v-on-function-call](https://eslint.vuejs.org/rules/v-on-function-call.html).

Sorry, but I don't get what issues you are experiencing. Could you please show all the different versions your tried, together with the errors that each reports? At least the...

If `` is ignored, `` and `` should be ignored as well.

Yes, you are right that an early `return` should be avoided in the `setup` function. It's a potential problem and (even if used correctly) can make the code harder to...