Skip to content

Commit 9067359

Browse files
committed
fix: Warn on param reasign
1 parent fb49c6d commit 9067359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/best-practices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ module.exports = {
196196

197197
// disallow reassigning function parameters
198198
// rule: http://eslint.org/docs/rules/no-param-reassign.html
199-
'no-param-reassign': ['error', { props: true }],
199+
'no-param-reassign': ['warn', { props: true }],
200200

201201
// disallow the use of the __proto__ property
202202
// http://eslint.org/docs/rules/no-proto

0 commit comments

Comments
 (0)