diff --git a/packages/eslint-config-airbnb/rules/style.js b/packages/eslint-config-airbnb/rules/style.js index fa22403d8b..d8a41a56bd 100644 --- a/packages/eslint-config-airbnb/rules/style.js +++ b/packages/eslint-config-airbnb/rules/style.js @@ -88,6 +88,8 @@ module.exports = { 'semi': [2, 'always'], // sort variables within the same declaration block 'sort-vars': 0, + // require a space before certain keywords + 'space-before-keywords': 2, // require a space after certain keywords 'space-after-keywords': 2, // require or disallow space before blocks