eslint-plugin-aura icon indicating copy to clipboard operation
eslint-plugin-aura copied to clipboard

Review recommended rules config for func-names and no-unused-expressions

Open touzoku opened this issue 4 years ago • 11 comments

Currently 'func-names': ['error', 'always'] and 'no-unused-expressions': 'error' produce errors for a perfectly valid aura controller code as below:

({
    myAction: function (component, event, helper) {
        return false
    }
})

This issue requires research on how these rules could be improved (in lieu of just disabling them).

touzoku avatar Oct 01 '19 05:10 touzoku