-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
Status: ReleasedIt's now live.It's now live.Type: BugInconsistencies or issues which will cause a problem for users or implementors.Inconsistencies or issues which will cause a problem for users or implementors.
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.
Metadata
Metadata
Assignees
Labels
Status: ReleasedIt's now live.It's now live.Type: BugInconsistencies or issues which will cause a problem for users or implementors.Inconsistencies or issues which will cause a problem for users or implementors.