Open blackxored opened 7 years ago
Take this function:
const someFunction = (state, action) => { switch (action.type) { case 'SOME_ACTION': { return assoc('anything', true, state); } default: { return state; } } }
fp/no-nil complains about it. Am I missing something or this should not have an error on it?
fp/no-nil
See https://github.com/jfmengels/eslint-plugin-fp/issues/14
Take this function:
fp/no-nil
complains about it. Am I missing something or this should not have an error on it?