Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Commit

Permalink
chore(plugins/clean-object): allow mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 13, 2023
1 parent eb980b7 commit bba2b7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/clean-object/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable no-param-reassign -- Mutating original object is intended */

"use strict";

const fp = require("fastify-plugin");
Expand Down

0 comments on commit bba2b7f

Please sign in to comment.