summaryrefslogtreecommitdiff
path: root/src/rules
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-16 13:04:17 +0300
committerValentin Popov <info@valentineus.link>2020-02-16 13:04:17 +0300
commite87fbc4bb92a952f46cbe0d61d1b3471b922233f (patch)
tree7455d65d945f9225159d8ba704053bc41c6e3ae1 /src/rules
parentbbf940aafeb564e6dc6023ea8022ba424e52cc05 (diff)
downloadeslint-config-e87fbc4bb92a952f46cbe0d61d1b3471b922233f.tar.xz
eslint-config-e87fbc4bb92a952f46cbe0d61d1b3471b922233f.zip
feat(eslint): no-param-reassign
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/rules')
-rw-r--r--src/rules/javascript/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json
index 6f6f67a..2ff7b63 100644
--- a/src/rules/javascript/default.json
+++ b/src/rules/javascript/default.json
@@ -181,6 +181,12 @@
"tabWidth": 4
}
],
+ "no-param-reassign": [
+ "warn",
+ {
+ "props": true
+ }
+ ],
"max-lines": [
"off"
],