From 254cfcb7f4d24951de54665a03823fbbcc491e85 Mon Sep 17 00:00:00 2001 From: Paul Slaughter Date: Mon, 27 Aug 2018 16:21:02 +0200 Subject: Updapte eslintrc no-param-reassign with 'ignorePropertyModificationsFor' --- .eslintrc.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.eslintrc.yml') diff --git a/.eslintrc.yml b/.eslintrc.yml index 77b1b72fe68..ebf8048f19c 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -33,6 +33,15 @@ rules: - error - max: 1 promise/catch-or-return: error + no-param-reassign: + - error + - props: true + ignorePropertyModificationsFor: + - "acc" # for reduce accumulators + - "accumulator" # for reduce accumulators + - "el" # for DOM elements + - "element" # for DOM elements + - "state" # for Vuex mutations no-underscore-dangle: - error - allow: -- cgit v1.2.1