Files
element-call-Github/eslint/index.js
Robin 0a572a9528 Add lint rule to prevent ObservableScope resource leaks
The rule of thumb to avoid resource leaks is that you should never call ObservableScope methods in a callback unless the ObservableScope is directly passed to or created inside that callback. I had a go at codifying this as a lint rule.
2026-06-12 13:16:28 +02:00

6 lines
113 B
JavaScript

module.exports = {
rules: {
"no-observablescope-leak": require("./NoObservableScopeLeak").default,
},
};