diff --git a/.eslintrc.js b/.eslintrc.js index 78a40a90..831aeb07 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -49,7 +49,6 @@ module.exports = { "jsdoc/check-syntax": "error", "jsdoc/require-hyphen-before-param-description": "error", "no-multiple-empty-lines": ["error", { max: 1 }], - "no-param-reassign": ["error", { props: false }], "prefer-destructuring": ["error", { object: true, array: false }], "promise/prefer-await-to-callbacks": "warn", "promise/prefer-await-to-then": "warn", diff --git a/src/plugins/clean-object/index.js b/src/plugins/clean-object/index.js index 8f64dc1b..c5097998 100644 --- a/src/plugins/clean-object/index.js +++ b/src/plugins/clean-object/index.js @@ -1,3 +1,5 @@ +/* eslint-disable no-param-reassign -- Mutating original object is intended */ + "use strict"; const fp = require("fastify-plugin");