diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-16 13:04:17 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-16 13:04:17 +0300 |
commit | e87fbc4bb92a952f46cbe0d61d1b3471b922233f (patch) | |
tree | 7455d65d945f9225159d8ba704053bc41c6e3ae1 | |
parent | bbf940aafeb564e6dc6023ea8022ba424e52cc05 (diff) | |
download | eslint-config-e87fbc4bb92a952f46cbe0d61d1b3471b922233f.tar.xz eslint-config-e87fbc4bb92a952f46cbe0d61d1b3471b922233f.zip |
feat(eslint): no-param-reassign
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/javascript/default.json | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -160,7 +160,7 @@ - [ ] "no-obj-calls" - [ ] "no-octal" - [X] "no-octal-escape" -- [ ] "no-param-reassign" +- [X] "no-param-reassign" - [X] "no-path-concat" - [ ] "no-plusplus" - [ ] "no-process-env" 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" ], |