Skip to content

Commit

Permalink
Solid improvement on dependency identification and elimination of fal…
Browse files Browse the repository at this point in the history
…se pos #293 (#295)
  • Loading branch information
guyacosta committed Sep 21, 2020
1 parent d05d5ab commit f715fda
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions AppInspector/rules/default/general/dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"_comment": "",
"patterns": [
{
"pattern": "(include|require) .*",
"pattern": "(include|require) .*;",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
Expand All @@ -51,7 +51,7 @@
"_comment": "",
"patterns": [
{
"pattern": "import .*",
"pattern": "#import .*",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
Expand All @@ -78,7 +78,7 @@
"_comment": ""
},
{
"pattern": "loadScriptByName.*",
"pattern": "loadScriptByName",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
Expand Down Expand Up @@ -138,14 +138,14 @@
"_comment": "",
"patterns": [
{
"pattern": "use .*",
"pattern": "use .*;",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
"_comment": ""
},
{
"pattern": "package. *",
"pattern": "package .*;",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
Expand Down Expand Up @@ -192,7 +192,7 @@
"_comment": "",
"patterns": [
{
"pattern": "using (.*);",
"pattern": "using .*;",
"type": "regex",
"scopes": [ "code" ],
"_comment": ""
Expand All @@ -211,7 +211,7 @@
"_comment": "",
"patterns": [
{
"pattern": "import .*",
"pattern": "import .*;",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
Expand All @@ -225,7 +225,7 @@
"_comment": ""
},
{
"pattern": "require ?\\(['\\\"]([^'\\\"]+)",
"pattern": "require ?\\(['\\\"]([^'\\\"]+);",
"type": "regex",
"scopes": [ "code" ],
"confidence": "high",
Expand Down

0 comments on commit f715fda

Please sign in to comment.