Skip to content

Commit

Permalink
chore: fix new lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Sep 3, 2024
1 parent 591c9ff commit fe24bf4
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,29 +56,15 @@ module.exports = {
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/indent': [
'warn',
2,
{
SwitchCase: 1,
ignoredNodes: ['TSTypeParameterInstantiation']
}
],
'@typescript-eslint/prefer-optional-chain': 'error',
'@typescript-eslint/brace-style': 'error',
'@typescript-eslint/no-dupe-class-members': 'error',
'@typescript-eslint/no-redeclare': 'error',
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/object-curly-spacing': [
'error',
'always'
],
'@typescript-eslint/semi': 'error',
'@typescript-eslint/space-before-function-paren': [
'error',
'never'
],
'@typescript-eslint/space-infix-ops': 'off'
'@typescript-eslint/space-infix-ops': 'off',
'@typescript-eslint/no-require-imports': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off'
}
},
{
Expand Down

0 comments on commit fe24bf4

Please sign in to comment.