matrix-org / waterfall

A cascading stream forwarding unit for scalable, distributed voice and video conferencing over Matrix
Apache License 2.0
97 stars 5 forks source link

Introduce stricter lints #42

Closed daniel-abramov closed 1 year ago

daniel-abramov commented 1 year ago

This relates to https://github.com/matrix-org/waterfall/issues/39

This PR does not really refactor anything, but only deals with the lining (introduces more strict lints, and turns off linters that are officially deprecated). The refactoring will be done on top of that.

Primarily it deals with global variables that had to be removed to satisfy the linter (also, global mutable variables a.k.a. singletones are kind of dangerous things in all languages).

This PR is intended to be merged after https://github.com/matrix-org/waterfall/pull/41