Skip to content

Commit

Permalink
2731: Add lint rule for array style
Browse files Browse the repository at this point in the history
  • Loading branch information
simomps committed Oct 21, 2024
1 parent 1ae1ea8 commit c68c664
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ module.exports = {
allowNullableString: true,
},
],
'@typescript-eslint/array-type': [
'error',
{
default: 'array',
},
],
'@typescript-eslint/switch-exhaustiveness-check': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',

Expand Down

0 comments on commit c68c664

Please sign in to comment.