Skip to content

Commit

Permalink
remove scanjs rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ndittren committed Sep 25, 2023
1 parent 3317108 commit 5758ee8
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ module.exports = {
},
"plugins": [
"security",
"scanjs-rules",
"no-unsafe-innerhtml",
"cypress",
],
"extends": [
Expand Down Expand Up @@ -45,44 +43,6 @@ module.exports = {
"key-spacing": ["error", { "beforeColon": false }],
"func-call-spacing": ["error", "never"],

/** no-unsafe-innerhtml rule **/
"no-unsafe-innerhtml/no-unsafe-innerhtml" : 2,

/** ScanJS rules **/
"scanjs-rules/assign_to_hostname": 1,
"scanjs-rules/assign_to_href": 1,
"scanjs-rules/assign_to_location": 1,
"scanjs-rules/assign_to_onmessage": 1,
"scanjs-rules/assign_to_pathname": 1,
"scanjs-rules/assign_to_protocol": 1,
"scanjs-rules/assign_to_search": 1,
"scanjs-rules/assign_to_src": 1,
"scanjs-rules/call_Function": 1,
"scanjs-rules/call_addEventListener": 1,
"scanjs-rules/call_addEventListener_deviceproximity": 1,
"scanjs-rules/call_addEventListener_message": 1,
"scanjs-rules/call_connect": 1,
"scanjs-rules/call_eval": 1,
"scanjs-rules/call_execScript": 1,
"scanjs-rules/call_hide": 0, /* hide used often. overly cautious */
"scanjs-rules/call_open_remote=true": 1,
"scanjs-rules/call_parseFromString": 1,
"scanjs-rules/call_setImmediate": 1,
"scanjs-rules/call_setInterval": 1,
"scanjs-rules/call_setTimeout": 1,
"scanjs-rules/identifier_indexedDB": 1,
"scanjs-rules/identifier_localStorage": 1,
"scanjs-rules/identifier_sessionStorage": 1,
"scanjs-rules/new_Function": 1,
"scanjs-rules/property_addIdleObserver": 1,
"scanjs-rules/property_createContextualFragment": 1,
"scanjs-rules/property_geolocation": 1,
"scanjs-rules/property_getUserMedia": 1,
"scanjs-rules/property_indexedDB": 1,
"scanjs-rules/property_localStorage": 1,
"scanjs-rules/property_mgmt": 1,
"scanjs-rules/property_sessionStorage": 1,

'security/detect-buffer-noassert': 1,
'security/detect-child-process': 1,
'security/detect-disable-mustache-escape': 1,
Expand Down

0 comments on commit 5758ee8

Please sign in to comment.