Skip to content

Commit 7e57eb0

Browse files
committed
Security linting
1 parent 05bf67b commit 7e57eb0

File tree

19 files changed

+30
-0
lines changed

19 files changed

+30
-0
lines changed

April_Fools_CSS/April_Fools_CSS.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// ==/UserScript==
1414

1515
// cSpell:ignore transform, aprilfool
16+
/* eslint security/detect-object-injection: "off" */
1617

1718
if (window.top === window) {
1819
var duration = 2000, // [Integer, positive, milliseconds] This controls the duration of an april fool item;

GeenStijl_Powned_Dumpert_Comment_Enhancer/GeenStijl_Powned_Dumpert_Comment_Enhancer.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// ==/UserScript==
2424

2525
// cSpell:ignore Dumpert, dumpert, geenstijl, powned, daskapital, glamora, perma
26+
/* eslint security/detect-object-injection: "off" */
2627

2728
(function () {
2829
function proxy(fn) {

Github_Comment_Enhancer/Github_Comment_Enhancer.user.js

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
// ==/UserScript==
2323

2424
// cSpell:ignore gollum, tooltipped, jssuggester, tabnav, facebox, msie
25+
/* eslint security/detect-object-injection: "off" */
26+
/* eslint security/detect-unsafe-regex: "off" */
27+
/* eslint security/detect-non-literal-regexp: "off" */
2528
/* global unsafeWindow */
2629

2730
(function (unsafeWindow) {

Github_Gist_Share/157850.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// ==/UserScript==
2020

2121
// cSpell:ignore Dabblet, Bl.ocks, itemprop, tweetbutton
22+
/* eslint security/detect-object-injection: "off" */
2223

2324
(function () {
2425
String.format = function (string) {

Github_Image_Viewer/Github_Image_Viewer.user.js

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// @include https://github.com/*
2121
// ==/UserScript==
2222

23+
/* eslint security/detect-object-injection: "off" */
24+
2325
(function () {
2426
String.format = function (string) {
2527
var args = Array.prototype.slice.call(arguments, 1, arguments.length);

Github_JSON_Dependencies_Linker/Github_JSON_Dependencies_Linker.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
// ==/UserScript==
2525

2626
// cSpell:ignore linkify, Sindre Sorhus
27+
/* eslint security/detect-object-injection: "off" */
2728
/* global GM_xmlhttpRequest */
2829

2930
(function () {

Github_News_Feed_Filter/Github_News_Feed_Filter.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
// ==/UserScript==
2323

2424
// cSpell:ignore transform, osvg, opath, gollum, hovercards, profilecols
25+
/* eslint security/detect-object-injection: "off" */
2526

2627
(function () {
2728
var ICONS = {};

Github_Pages_Linker/Github_Pages_Linker.user.js

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// @include https://github.com/*
2121
// ==/UserScript==
2222

23+
/* eslint security/detect-object-injection: "off" */
24+
2325
(function () {
2426
String.format = function (string) {
2527
var args = Array.prototype.slice.call(arguments, 1, arguments.length);

Github_Pull_Request_From/Github_Pull_Request_From.user.js

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
// @exclude https://github.com/*/*.patch
2121
// ==/UserScript==
2222

23+
/* eslint security/detect-object-injection: "off" */
24+
2325
(function () {
2426
String.format = function (string) {
2527
var args = Array.prototype.slice.call(arguments, 1, arguments.length);

Github_Reply_Comments/Github_Reply_Comments.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// ==/UserScript==
2424

2525
// cSpell:ignore textareas, previewable, tooltipped
26+
/* eslint security/detect-object-injection: "off" */
2627

2728
(function () {
2829
String.format = function (string) {

Github_User_Info/Github_User_Info.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
// ==/UserScript==
2626

2727
// cSpell:ignore leaderboard, vcard, transform
28+
/* eslint security/detect-object-injection: "off" */
2829

2930
(function () {
3031
function proxy(fn) {

Multiple_Windows_Live_IDs/Multiple_Windows_Live_IDs.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// ==/UserScript==
2222

2323
// cSpell:ignore MWLID, maincontent, phholder, transform
24+
/* eslint security/detect-object-injection: "off" */
2425
/* global GM_getValue,GM_setValue */
2526

2627
(function () {

PDF_Tools/PDF_Tools.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
// ==/UserScript==
1717

1818
// cSpell:ignore PDF
19+
/* eslint security/detect-object-injection: "off" */
1920

2021
(function () {
2122
//console.log(PDFJS.version); // "1.0.277"

Userscripts.org_Scripts_Source_Counter/37611.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
/* cSpell:enable */
3232

3333
// cSpell:ignore STATIS
34+
/* eslint security/detect-unsafe-regex: "off" */
3435

3536
(function () {
3637
Number.prototype.toPoints = function () {

Userscripts.org_Source_Numbering/38912.user.js

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828
/* cSpell:enable */
2929

3030
// cSpell:ignore andale, lucida, cellspacing
31+
/* eslint security/detect-object-injection: "off" */
32+
/* eslint security/detect-unsafe-regex: "off" */
3133

3234
//*** USER SETTINGS ***//
3335
var maxLines = 10000; // [Integer] maximum number of lines (prevent browser from hanging and possibly crashing);

Userscripts.org_Timed_Updater/37853.user.js

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6161
/*/ /////////////////////////////////////////////////////////////////////////
6262

6363
// cSpell:ignore plusmn
64+
/* eslint security/detect-object-injection: "off" */
6465

6566
//*** USERSCRIPT ***//
6667
(function (win, doc, und) {

Userscripts.org_Topics_Column/38597.user.js

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6161
// -
6262
/*/ /////////////////////////////////////////////////////////////////////////
6363

64+
/* eslint security/detect-object-injection: "off" */
65+
/* eslint security/detect-eval-with-expression: "off" */
66+
6467
//*** USER SETTINGS ***//
6568
var updateTime = 3 * 60 * 60 * 1000; // [Number] update time (we don't want to flood userscripts.org);
6669

Userscripts.org_Versions_Column/38595.user.js

+3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6262
// -
6363
/*/ /////////////////////////////////////////////////////////////////////////
6464

65+
/* eslint security/detect-object-injection: "off" */
66+
/* eslint security/detect-eval-with-expression: "off" */
67+
6568
//*** USER SETTINGS ***//
6669
var updateTime = 3 * 60 * 60 * 1000; // [Integer] update time (we don't want to flood userscripts.org);
6770

Userscripts.org_Versions_Tab/38594.user.js

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3333
/* cSpell:enable */
3434

3535
// cSpell:ignore UVT
36+
/* eslint security/detect-object-injection: "off" */
37+
/* eslint security/detect-eval-with-expression: "off" */
3638

3739
(function () {
3840
// [Number] minimum update interval (we don't want to flood userscripts.org);

0 commit comments

Comments
 (0)