From 1ee374586e2f0326e1655879ea56da8b1d8e7aaf Mon Sep 17 00:00:00 2001 From: Damien Lebrun Date: Fri, 19 Aug 2016 12:48:01 +0100 Subject: [PATCH 1/2] eslint config: allow function hoisting --- packages/eslint-config-singpath/default.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config-singpath/default.yml b/packages/eslint-config-singpath/default.yml index 903f1e5..0bda95e 100644 --- a/packages/eslint-config-singpath/default.yml +++ b/packages/eslint-config-singpath/default.yml @@ -258,7 +258,9 @@ rules: - args: after-used vars: all # disallow the use of variables before they are defined - no-use-before-define: error + no-use-before-define: + - error + - functions: false ## Node.js and CommonJS # From 4d21c78521018d0e30eddd5ea51ec1a511b796b0 Mon Sep 17 00:00:00 2001 From: Damien Lebrun Date: Fri, 19 Aug 2016 12:51:59 +0100 Subject: [PATCH 2/2] bump eslint config version [ci skip] --- packages/eslint-config-singpath/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-singpath/package.json b/packages/eslint-config-singpath/package.json index 569bf6e..aead817 100644 --- a/packages/eslint-config-singpath/package.json +++ b/packages/eslint-config-singpath/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-singpath", - "version": "0.0.3", + "version": "0.0.4", "main": "index.js", "author": "Chris Boesch", "description": "Default ESLint configuration for Singpath projects.",