-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[javascript] CPD: add support for Typescript using antlr4 grammar #4402
Conversation
TypescriptLexerBase, coming directly from antlr4 repository, doesn't pass checkstyle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
I think it would be nice to put this all into the existing pmd-javascript
module though.
pmd-typescript/src/main/java/net/sourceforge/pmd/lang/typescript/ast/TypeScriptLexerBase.java
Outdated
Show resolved
Hide resolved
pmd-typescript/src/main/java/net/sourceforge/pmd/lang/typescript/ast/TypeScriptLexerBase.java
Outdated
Show resolved
Hide resolved
c2e61bf
to
5660d26
Compare
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Describe the PR
Following T-SQL, add minimal CPD support for Typescript using antlr4 grammar from https://github.com/antlr/grammars-v4
Related issues
Ready?
./mvnw clean verify
passes (checked automatically by github actions)