Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-nil option to allow returning nil values in constructors and other functions #22

Open
nickserv opened this issue Mar 23, 2017 · 0 comments

Comments

@nickserv
Copy link
Contributor

Most of the rules have options to allow a combination of OOP and FP, but no-nil is firing on all my ES6 constructors. It would be nice to have an allowConstructor and/or allowReturn option for no-nil, similar to allowThis.

@nickserv nickserv changed the title no-nil should have an option to allow returning nil values, at least in constructors no-nil option to allow returning nil values in constructors and other functions Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant