From 31e84122318f555084eee12392fa3b5d2df27924 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sat, 30 Apr 2016 00:00:22 -0700 Subject: [PATCH] [eslint config] [base] [breaking] enable `no-unsafe-finally` rule --- packages/eslint-config-airbnb-base/rules/best-practices.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/eslint-config-airbnb-base/rules/best-practices.js b/packages/eslint-config-airbnb-base/rules/best-practices.js index 5e14e840..2496c695 100644 --- a/packages/eslint-config-airbnb-base/rules/best-practices.js +++ b/packages/eslint-config-airbnb-base/rules/best-practices.js @@ -138,8 +138,7 @@ module.exports = { 'no-unmodified-loop-condition': 0, // disallow return/throw/break/continue inside finally blocks // http://eslint.org/docs/rules/no-unsafe-finally - // TODO: enable - 'no-unsafe-finally': 0, + 'no-unsafe-finally': 2, // disallow usage of expressions in statement position 'no-unused-expressions': 2, // disallow unused labels