mpellegrini / fullstack-typescript-monorepo-starter

1 stars 1 forks source link

ESLint Toolchain: Implement the switch-exhaustiveness-check #134

Closed mpellegrini closed 3 months ago

mpellegrini commented 3 months ago
'@typescript-eslint/switch-exhaustiveness-check': [
      'error',
      {
        allowDefaultCaseForExhaustiveSwitch: false,
        requireDefaultForNonUnion: true,
      },
    ],