Skip to content

Commit

Permalink
diallow non null assertions, aka the ! (#87)
Browse files Browse the repository at this point in the history
* diallow non null assertions, aka the !

* Change files

* make it a minor change

---------

Co-authored-by: Arun George <[email protected]>
  • Loading branch information
aruniverse and aruniverse authored Nov 26, 2024
1 parent 24fef2d commit b2ed3d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "disallow non-null assertions using the `!` postfix operator",
"packageName": "@itwin/eslint-plugin",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion dist/configs/itwinjs-recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ module.exports =
}
],
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-redeclare": [
"error",
Expand Down

0 comments on commit b2ed3d1

Please sign in to comment.