Skip to content

Instantly share code, notes, and snippets.

@twerske
Last active June 6, 2022 18:10
Show Gist options
  • Save twerske/5a96229d247f1696ec8dbd9e119878e6 to your computer and use it in GitHub Desktop.
Save twerske/5a96229d247f1696ec8dbd9e119878e6 to your computer and use it in GitHub Desktop.
Configure extended developer diagnostics
{
"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"
},
...
},
...
}
@mrbusche
Copy link

mrbusche commented Jun 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment