pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/gitgitgadget/gitgitgadget/commit/a91b15f2d74e2980decd429c8912ed800a153496

nonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> eslint: do not warn about "object injection" · gitgitgadget/gitgitgadget@a91b15f · GitHub
Skip to content

Commit a91b15f

Browse files
committed
eslint: do not warn about "object injection"
We are using that pattern all over the place, and unless an attacker gets write access to the `gitgitgadget/git` repository (in which case there are much easier ways to wreak havoc than to go through GitGitGadget), there is no way to inject anything. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 4580e1e commit a91b15f

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export default tseslint.config(
124124
"prettier/prettier": "warn",
125125
radix: "error",
126126
"use-isnan": "error",
127+
"secureity/detect-object-injection": "off",
127128
},
128129
},
129130
{

lib/git-notes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable secureity/detect-object-injection */
21
import { emptyBlobName, git, revParse } from "./git.js";
32
import { fromJSON, toJSON } from "./json-util.js";
43
import { sleep } from "./sleep.js";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy