Skip to content

Commit

Permalink
fix: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Sep 10, 2024
1 parent b56fcf1 commit c651b0c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@
"sourceType": "module"
},
"rules": {
"@typescript-eslint/ban-types": [
"error",
{
"types": {
// We specify `{}` in `CommandOptions` generics when those commands don't have their own
// options and it's cleaner for us to do that than `Record<string, unknown>`.
"{}": false
}
}
],
// We specify `{}` in `CommandOptions` generics when those commands don't have their own
// options and it's cleaner for us to do that than `Record<string, unknown>`.
"@typescript-eslint/no-empty-object-type": "off",

// We already have top-level error handling across the codebase, so this rule is not helpful for us.
"try-catch-failsafe/json-parse": "off",

/**
* Because our command classes have a `run` method that might not always call `this` we need to
Expand Down

0 comments on commit c651b0c

Please sign in to comment.