Skip to content

Commit

Permalink
Provide JavaScript port of TokenStreamRewriter
Browse files Browse the repository at this point in the history
Signed-off-by: Eiríkur Fannar Torfason <[email protected]>
  • Loading branch information
eirikur-grid committed Feb 24, 2023
1 parent b0bfff5 commit c9995f9
Show file tree
Hide file tree
Showing 18 changed files with 1,885 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ nbactions*.xml
/gen4/
/tool/playground/
tmp/
**/generatedCode/*.interp
**/generatedCode/*.tokens
**/generatedCode/*.bak

# Configurable build files
bilder.py
Expand All @@ -107,6 +110,9 @@ runtime/PHP
# Swift binaries
.build/

# Code coverage reports
coverage/

# Cpp generated build files
runtime/Cpp/CMakeCache.txt
runtime/Cpp/CMakeFiles/
Expand Down
10 changes: 10 additions & 0 deletions runtime/JavaScript/.c8rc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"all": true,
"include": [
"src/antlr4/**/*.js"
],
"reporter": [
"text",
"lcov"
]
}
5 changes: 3 additions & 2 deletions runtime/JavaScript/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ parser: "@babel/eslint-parser"
parserOptions:
sourceType: module
project: ['./tsconfig.json']
ecmaVersion: 2022
rules:
no-unused-vars: ["error", {vars: "all", args: "none"}]
no-prototype-builtins: [ "off" ]
no-unused-vars: ["error", { vars: "all", args: "none" }]
no-prototype-builtins: ["off"]
no-fallthrough: ["error", { "commentPattern": "no-break" }]
Loading

0 comments on commit c9995f9

Please sign in to comment.