digidem / mapeo-core-next

The upcoming version of Mapeo Core
MIT License
7 stars 1 forks source link

chore: prefer strict Node assert #618

Closed EvanHahn closed 2 months ago

EvanHahn commented 2 months ago

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.