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

Commit 4aec570

Browse files
authored
feat: Introduce 'space-before-blocks' (#288)
1 parent 24f9af2 commit 4aec570

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/shared.js

+5
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ module.exports = {
162162
'no-shadow': 'off',
163163
'@typescript-eslint/no-shadow': baseVariablesRules['no-shadow'],
164164

165+
// Replace Airbnb 'space-before-blocks' rule with '@typescript-eslint' version
166+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-blocks.md
167+
'space-before-blocks': 'off',
168+
'@typescript-eslint/space-before-blocks': baseStyleRules['space-before-blocks'],
169+
165170
// Replace Airbnb 'no-throw-literal' rule with '@typescript-eslint' version
166171
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-throw-literal.md
167172
'no-throw-literal': 'off',

0 commit comments

Comments
 (0)