Skip to content

Commit

Permalink
refact: adjust no-empty eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpza committed Aug 8, 2024
1 parent 7b5b808 commit d997a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default [
rules: {
"@typescript-eslint/no-empty-object-type": ["error", { allowInterfaces: "with-single-extends" }],
"@typescript-eslint/no-namespace": ["error", { allowDeclarations: true }],
"no-empty": ["error", { allowEmptyCatch: true }],
"prefer-const": ["error", { destructuring: "all" }],
},
},
Expand All @@ -20,7 +21,6 @@ export default [
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-unused-vars": "warn",
"no-empty": "warn",
},
},
];

0 comments on commit d997a25

Please sign in to comment.