Closed
Description
I tried to test new rules in one of my big projects and i have few false positive errors in case when there is CodePath/Function inside with no return.
Affected rules:
return-in-computed-property
require-render-return
Example of false positive error:
export default {
computed: {
foo () {
const options = []
this.matches.forEach((match) => {
options.push(match)
})
return options
}
}
}