Skip to content

Investigate biomejs's suggested fixes for nullable things #34

@samuel-skean

Description

@samuel-skean

Specifically https://biomejs.dev/linter/rules/no-non-null-assertion/.
I don't think I agree with what they're suggesting. What I want is for the code to throw an exception whenever the thing is null. I think using ! to assert that something is not-null does this as well as can be hoped.

  • What does biomejs's suggested (unsafe) fix do?
  • How can we configure it to do what I want, on a project-wide basis?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions