Skip to content

Commit

Permalink
fix: foo
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Nov 16, 2024
1 parent 6945e54 commit d368c19
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ export default tseslint.config(
'error',
{ ignoreDeclarationSort: true },
],
// TODO remove after https://github.com/eslint/eslint/issues/19134 is fixed
'@typescript-eslint/no-unused-expressions': [
'error',
{
allowShortCircuit: true,
allowTernary: true,
},
],
'@typescript-eslint/dot-notation': ['error', { allowKeywords: true }],
'@typescript-eslint/no-empty-function': ['error', { allow: ['arrowFunctions'] }],
// TODO END
},
languageOptions: {
globals: {
Expand Down

0 comments on commit d368c19

Please sign in to comment.