This change should have no impact on functionality.
node:assert has two modes: strict and legacy. The latter can have some strange behavior. This adds an ESLint rule to prefer the strict mode, and fixes all violations.
I think this is a useful change on its own but it should make it a little easier to drop Brittle in the future.
This change should have no impact on functionality.
node:assert
has two modes: strict and legacy. The latter can have some strange behavior. This adds an ESLint rule to prefer the strict mode, and fixes all violations.I think this is a useful change on its own but it should make it a little easier to drop Brittle in the future.