Skip to content
Permalink
Browse files
chore: turn off security/detect-object-injection eslint rule (#563)
  • Loading branch information
Fdawgs committed Nov 25, 2021
1 parent d4aa988 commit 21da09736a6c81236a7de5681f88f96d8706d74f
Showing with 1 addition and 2 deletions.
  1. +1 −0 .eslintrc.js
  2. +0 −1 src/plugins/pdf-to-html/index.js
  3. +0 −1 src/plugins/pdf-to-txt/index.js
@@ -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,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");
@@ -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;

0 comments on commit 21da097

Please sign in to comment.