diff --git a/lib/shared.js b/lib/shared.js index 421baff..306550b 100644 --- a/lib/shared.js +++ b/lib/shared.js @@ -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',