Skip to content

Commit

Permalink
fix: missing allow on rule
Browse files Browse the repository at this point in the history
  • Loading branch information
gutyerrez committed Dec 27, 2024
1 parent 65fcb95 commit 6414d8f
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ export default [
],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/triple-slash-reference': 'off',
'@typescript-eslint/no-empty-function': 'error',
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/ban-types': 'error',
Expand All @@ -296,6 +295,18 @@ export default [
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
'@typescript-eslint/no-unsafe-enum-comparison': 'error',
'@typescript-eslint/no-unsafe-return': 'error',
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/restrict-template-expressions': 'error',
'@typescript-eslint/unbound-method': 'error',
'@typescript-eslint/no-empty-function': [
'error',
{
'allow': []
}
],
'@typescript-eslint/no-unused-vars': [
'error',
{
Expand All @@ -307,12 +318,7 @@ export default [
'varsIgnorePattern': '^_',
'ignoreRestSiblings': true
}
],
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-as-const': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/restrict-template-expressions': 'error',
'@typescript-eslint/unbound-method': 'error'
]
}
},
{
Expand Down

0 comments on commit 6414d8f

Please sign in to comment.