Skip to content

Commit

Permalink
Merge pull request #183 from theodo-group/add-method-signature-style
Browse files Browse the repository at this point in the history
chore: Add eslint shorthand error rule
  • Loading branch information
Jeremie-Chauvel authored Feb 27, 2024
2 parents a905dd0 + e1a6156 commit da11858
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ module.exports = {
minimumDescriptionLength: 10,
},
],
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
'@typescript-eslint/method-signature-style': ['error', 'property'],
'@typescript-eslint/no-misused-promises': [
'error',
{
Expand Down

0 comments on commit da11858

Please sign in to comment.