Skip to content

Commit

Permalink
fix: enable @typescript-eslint/space-infix-ops
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusBaldi committed Dec 26, 2024
1 parent 01bb835 commit 4290229
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions partials/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,10 @@ module.exports = {
'typedefs': false,
},
],

// Replace eslint space-infix-ops with equivalent typescript-eslint rule to support
// linting type definitions
'space-infix-ops': 'off',
'@typescript-eslint/space-infix-ops': [ 'error' ],
},
};

0 comments on commit 4290229

Please sign in to comment.