Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
feat: add lost test languages
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 23, 2022
1 parent 9345311 commit 435e95c
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions scan_git/src/test/resources/lines/languages.json
@@ -0,0 +1,97 @@
[
{
"name": "TypeScript",
"line_comment": [
"//"
],
"complexitychecks": [
"for ",
"for(",
"if ",
"if(",
"switch ",
"while ",
"else ",
"| ",
"|| ",
"\u0026 ",
"\u0026\u0026 ",
"!= ",
"!== ",
"== ",
"=== ",
"foreach(",
"case ",
"case(",
"casex ",
"casex(",
"casez ",
"casez(",
"casexz ",
"casexz(",
"fork",
"?",
":",
"inside",
"with"
],
"extensions": [
"ts",
"tsx"
],
"multi_line": [
[
"/*",
"*/"
]
],
"quotes": [
{
"start": "\"",
"end": "\"",
"ignoreEscape": false,
"docString": false
}
]
},
{
"name": "JavaScript",
"line_comment": [
"//"
],
"complexitychecks": [
"for ",
"for(",
"if ",
"if(",
"switch ",
"while ",
"else ",
"|| ",
"\u0026\u0026 ",
"!= ",
"== "
],
"extensions": [
"js",
"mjs"
],
"multi_line": [
[
"/*",
"*/"
]
],
"quotes": [
{
"start": "\"",
"end": "\"",
"ignoreEscape": false,
"docString": false
}
],
"shebangs": [
"node"
]
}
]

0 comments on commit 435e95c

Please sign in to comment.