Skip to content

Commit

Permalink
fix: Warn on param reasign
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens committed Dec 17, 2017
1 parent fb49c6d commit 9067359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9067359

Please sign in to comment.