Skip to content

Commit

Permalink
chore: turn off security/detect-object-injection eslint rule (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Nov 25, 2021
1 parent d4aa988 commit 21da097
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -35,5 +35,6 @@ module.exports = {
"prefer-destructuring": "off",
"promise/prefer-await-to-callbacks": "warn",
"promise/prefer-await-to-then": "warn",
"security/detect-object-injection": "off",
},
};
1 change: 0 additions & 1 deletion src/plugins/pdf-to-html/index.js
@@ -1,5 +1,4 @@
/* eslint-disable security/detect-non-literal-fs-filename */
/* eslint-disable security/detect-object-injection */
const autoParse = require("auto-parse");
const fixUtf8 = require("fix-utf8");
const fp = require("fastify-plugin");
Expand Down
1 change: 0 additions & 1 deletion src/plugins/pdf-to-txt/index.js
@@ -1,5 +1,4 @@
/* eslint-disable security/detect-non-literal-fs-filename */
/* eslint-disable security/detect-object-injection */
const autoParse = require("auto-parse");
const fp = require("fastify-plugin");
const fs = require("fs").promises;
Expand Down

0 comments on commit 21da097

Please sign in to comment.