Last active
June 6, 2022 18:10
-
-
Save twerske/5a96229d247f1696ec8dbd9e119878e6 to your computer and use it in GitHub Desktop.
Configure extended developer diagnostics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"angularCompilerOptions": { | |
"extendedDiagnostics": { | |
// The categories to use for specific diagnostics. | |
"checks": { | |
// Maps check name to its category. | |
"invalidBananaInBox": "error" | |
"nullishCoalescingNotNullable": "warning" | |
}, | |
// The category to use for any diagnostics not listed in `checks` above. | |
"defaultCategory": "suppress" | |
}, | |
... | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is missing a comma after line 7, easy enough to fix after a copy/paste, but just in case anyone else glosses over that problem.