Closed
Description
Bug Report
When using a getter, the functional/prefer-tacit
rule reports an issue, but I believe this is incorrect.
Expected behavior
No error
Actual behavior
A lint error occurred.
Steps to reproduce
const foo = () => {
const bar = () => {
return 1;
}
return {
get baz() {
return bar();
},
};
};
Proposed changes
Skip the rule for getter.