Unverified Commit 41f05541 authored by Travis Ralston's avatar Travis Ralston Committed by GitHub
Browse files

Disable no-non-null assertions lint rule (#22348)

This *allows* us to use `variable!.prop` to ensure `variable` is not null/undefined.
parent 4a91c172
......@@ -30,6 +30,8 @@ module.exports = {
// We disable this while we're transitioning
"@typescript-eslint/no-explicit-any": "off",
// We're okay with assertion errors when we ask for them
"@typescript-eslint/no-non-null-assertion": "off",
// Ban matrix-js-sdk/src imports in favour of matrix-js-sdk/src/matrix imports to prevent unleashing hell.
"no-restricted-imports": ["error", {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment