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

Add no-callback-literal rule #179

Merged
merged 2 commits into from Aug 29, 2019
Merged

Add no-callback-literal rule #179

merged 2 commits into from Aug 29, 2019

Conversation

feross
Copy link
Contributor

@feross feross commented Aug 14, 2019

Fixes: #178

@mysticatea
Copy link
Owner

Thank you for your contribution!

Code looks good to me. Would you add docs/rules/no-callback-literal.md?

@feross
Copy link
Contributor Author

feross commented Aug 18, 2019

@mysticatea I just added a documentation file as you requested.

@mysticatea
Copy link
Owner

I'm sorry that I have lost track on this. LGTM, thank you!

@mysticatea mysticatea merged commit c1d5dbf into mysticatea:master Aug 29, 2019
@feross
Copy link
Contributor Author

feross commented Sep 4, 2019

Thank you @mysticatea!

@aleen42
Copy link

aleen42 commented Sep 21, 2020

Holy crap rule!! I don't know why I cannot callback literal like the state (boolean): cb(0) or cb(false) ?

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

Successfully merging this pull request may close these issues.

Adopt no-callback-literal rule
3 participants