Skip to content

Commit

Permalink
style: add ts-eslint space-before-blocks rule
Browse files Browse the repository at this point in the history
  • Loading branch information
devonzara committed Apr 2, 2023
1 parent 9547350 commit bdb34ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ module.exports = {
'@typescript-eslint/key-spacing': 'error',
'object-curly-spacing': ['error', 'always', { objectsInObjects: false }],
'object-shorthand': ['error', 'always', { avoidQuotes: true }],
'space-before-blocks': 'off',
'@typescript-eslint/space-before-blocks': 'error',
'space-in-parens': ['error', 'never'],

// Newline padding rules
Expand Down

0 comments on commit bdb34ec

Please sign in to comment.