From 695b94500de2692f92874c6223206cac6dc878b9 Mon Sep 17 00:00:00 2001 From: Alasdair Mercer Date: Mon, 3 Jul 2017 15:25:24 +0100 Subject: [PATCH 1/2] disabled no-magic-number rule again --- es5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es5.js b/es5.js index 0e6a4cc..41b5f13 100644 --- a/es5.js +++ b/es5.js @@ -108,7 +108,7 @@ module.exports = { 'no-labels': 'error', 'no-lone-blocks': 'error', 'no-loop-func': 'error', - 'no-magic-numbers': 'warn', + 'no-magic-numbers': 'off', 'no-multi-spaces': 'error', 'no-multi-str': 'error', 'no-new': 'error', From b867cc36afbf1a1c8ee4557ab1f6c1d64fce7a17 Mon Sep 17 00:00:00 2001 From: Alasdair Mercer Date: Mon, 3 Jul 2017 15:26:12 +0100 Subject: [PATCH 2/2] roll 0.2.2 --- CHANGES.md | 4 ++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 432bc08..d3069bd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## Version 0.2.2, 2017.07.03 + +* Disable `no-magic-numbers` rule again + ## Version 0.2.1, 2017.07.03 * Fix incorrect value type for `max-statements-per-line` rule diff --git a/package-lock.json b/package-lock.json index 27fd692..b356a42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { "name": "eslint-config-notninja", - "version": "0.2.1", + "version": "0.2.2", "lockfileVersion": 1 } diff --git a/package.json b/package.json index 05cd345..2b30957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-notninja", - "version": "0.2.1", + "version": "0.2.2", "description": "Standard ESLint configurations for !ninja packages", "homepage": "https://github.com/NotNinja/eslint-config-notninja", "bugs": {