From c3a8194ca9e38226c4fd8e7683330c50be5daf86 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Sat, 5 Nov 2016 21:23:31 -1000 Subject: [PATCH 1/2] Remove arrow parens requirement --- packages/eslint-config-shakacode/rules/javascript.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/eslint-config-shakacode/rules/javascript.yml b/packages/eslint-config-shakacode/rules/javascript.yml index 1fb72c2..7c55383 100644 --- a/packages/eslint-config-shakacode/rules/javascript.yml +++ b/packages/eslint-config-shakacode/rules/javascript.yml @@ -1,8 +1,11 @@ --- rules: + # Airbnb style guideline has arrow-parens to be used if the body has braces, but not parens. + # We use flow, so we need the parens sometimes for single params with type annotations. + # However, we can't always use parens, as we don't want them for simple lodash operations with + # inline arrow functions. arrow-parens: - - 2 - - "always" + - 0 # http://eslint.org/docs/rules/no-return-assign.html # packages/eslint-config-airbnb-base/rules/best-practices.js used the default which is From e8e652ef39da865f4363953097b576a81b8d1791 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Sat, 5 Nov 2016 21:24:38 -1000 Subject: [PATCH 2/2] Release 13.0.1-beta.1 --- packages/eslint-config-shakacode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-shakacode/package.json b/packages/eslint-config-shakacode/package.json index 82ebf7d..239fa17 100644 --- a/packages/eslint-config-shakacode/package.json +++ b/packages/eslint-config-shakacode/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-shakacode", - "version": "13.0.0", + "version": "13.0.1-beta.1", "description": "Shakacode eslint config.", "authors": [ "Justin Gordon (https://github.com/justin808)",