Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

eslint no-param-reassign

// add this line to the rules section of the 'eslintrc.json' file

"no-param-reassign": [2, { 
            "props": false
        }]
 
PREVIOUS NEXT
Tagged: #eslint
ADD COMMENT
Topic
Name
6+3 =