Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
feat: Introduce 'space-before-blocks' (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
deskoh authored Apr 1, 2022
1 parent 24f9af2 commit 4aec570
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ module.exports = {
'no-shadow': 'off',
'@typescript-eslint/no-shadow': baseVariablesRules['no-shadow'],

// Replace Airbnb 'space-before-blocks' rule with '@typescript-eslint' version
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-blocks.md
'space-before-blocks': 'off',
'@typescript-eslint/space-before-blocks': baseStyleRules['space-before-blocks'],

// Replace Airbnb 'no-throw-literal' rule with '@typescript-eslint' version
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-throw-literal.md
'no-throw-literal': 'off',
Expand Down

0 comments on commit 4aec570

Please sign in to comment.