Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Javascript port of TokenStreamRewriter #3560

Merged
merged 1 commit into from
Feb 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
ericvergnaud marked this conversation as resolved.
Show resolved Hide resolved
**/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