Skip to content

Commit

Permalink
Bump eslint-config-pixiebrix from 0.34.1 to 0.36.2 (#7726)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 26, 2024
1 parent a757a8e commit b9f2a91
Show file tree
Hide file tree
Showing 48 changed files with 444 additions and 350 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ module.exports = {
// NOTE: If you add more rules, add the tests to eslint-local-rules/noRestrictedSyntax.ts
],

// We want to have a default case to check for `never`
"@typescript-eslint/switch-exhaustiveness-check": [
"error",
{
allowDefaultCaseForExhaustiveSwitch: true,
requireDefaultForNonUnion: true,
},
],

// Rules that depend on https://github.com/pixiebrix/pixiebrix-extension/issues/775
"@typescript-eslint/restrict-template-expressions": [
"error",
Expand Down
Loading

0 comments on commit b9f2a91

Please sign in to comment.