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

Commit

Permalink
build(deps-dev): remove broken eslint-plugin-security-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 1, 2023
1 parent 6511d68 commit 1618dfb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 21 deletions.
10 changes: 1 addition & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ module.exports = {
"plugin:promise/recommended",
"plugin:regexp/recommended",
"plugin:security/recommended",
"plugin:security-node/recommended",
"prettier",
],
overrides: [
Expand Down Expand Up @@ -40,14 +39,7 @@ module.exports = {
// Explicitly tell ESLint to parse JavaScript as CommonJS, as airbnb-base sets this to "modules" for ECMAScript
sourceType: "script",
},
plugins: [
"import",
"jsdoc",
"promise",
"regexp",
"security",
"security-node",
],
plugins: ["import", "jsdoc", "promise", "regexp", "security"],
root: true,
rules: {
"@eslint-community/eslint-comments/disable-enable-pair": "off",
Expand Down
10 changes: 0 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-regexp": "^2.1.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-security-node": "^1.1.1",
"glob": "^10.3.10",
"husky": "^8.0.3",
"jest": "^29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/routes/redirect/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function route(server, options) {
*/
const espUrl = options.redirectUrl + fastStringify(req.query);
server.log.debug(espUrl);
// eslint-disable-next-line security-node/detect-dangerous-redirects -- Redirecting to trusted URL
// Redirecting to trusted ESP URL
res.redirect(espUrl);
},
});
Expand Down

0 comments on commit 1618dfb

Please sign in to comment.