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

Feat: Add notes on banning null #295

Open
DHedgecock opened this issue Feb 14, 2021 · 0 comments
Open

Feat: Add notes on banning null #295

DHedgecock opened this issue Feb 14, 2021 · 0 comments

Comments

@DHedgecock
Copy link
Member

DHedgecock commented Feb 14, 2021

Summary

There's interesting history on JS supporting null and undefined, in TS it's easy to mostly prefer undefined using optional properties

Details

Add a note about the no-null plugin for user's that want to ban adding null values.

Ref: typescript-eslint/typescript-eslint#821 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant