Skip to content

Commit

Permalink
Add @stylistic/type-generic-spacing rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 4, 2024
1 parent 1f59ada commit d99ccbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ const rules = {
}
],
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
'@stylistic/type-generic-spacing': 'error',

// Disabled per typescript-eslint recommendation: https://github.com/typescript-eslint/typescript-eslint/blob/e26e43ffba96f6d46198b22f1c8dd5c814db2652/docs/getting-started/linting/FAQ.md#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
'no-undef': 'off',
Expand Down

0 comments on commit d99ccbe

Please sign in to comment.