From 90673590b04f027bc0ca7785ef1524a4b4935d9d Mon Sep 17 00:00:00 2001 From: Joshua Wiens Date: Sun, 17 Dec 2017 03:41:02 -0600 Subject: [PATCH] fix: Warn on param reasign --- rules/best-practices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/best-practices.js b/rules/best-practices.js index 76f8f16..317e342 100644 --- a/rules/best-practices.js +++ b/rules/best-practices.js @@ -196,7 +196,7 @@ module.exports = { // disallow reassigning function parameters // rule: http://eslint.org/docs/rules/no-param-reassign.html - 'no-param-reassign': ['error', { props: true }], + 'no-param-reassign': ['warn', { props: true }], // disallow the use of the __proto__ property // http://eslint.org/docs/rules/no-proto