feat: format for generics spacing

This commit is contained in:
Anthony Fu
2022-11-01 03:34:15 +08:00
parent 3c1207657f
commit 588494cc01
7 changed files with 117 additions and 71 deletions

View File

@@ -106,6 +106,9 @@ module.exports = {
'lines-between-class-members': 'off',
'@typescript-eslint/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
// antfu
'antfu/generic-spacing': 'error',
// The following rule overrides require a parser service, aka. require a `typescript.json` path.
// This needs to be done individually for each project, and it slows down linting significantly.
// 'no-throw-literal': 'off',