Skip to content

add rule for detecting script bindings#738

Merged
chrismair merged 4 commits into
CodeNarc:masterfrom
jchorl:jchorl/scriptbindings
Jul 22, 2023
Merged

add rule for detecting script bindings#738
chrismair merged 4 commits into
CodeNarc:masterfrom
jchorl:jchorl/scriptbindings

Conversation

@jchorl

@jchorl jchorl commented Jul 22, 2023

Copy link
Copy Markdown
Contributor

I took a stab at #469

I added some tests. Haven't worked much with groovy or codenarc so hopefully it's alright.

@chrismair chrismair left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add some markdown doc for this rule in "docs/codenarc-rules-concurrency.md""

Comment thread src/main/groovy/org/codenarc/rule/concurrency/NoScriptBindingsRule.groovy Outdated
Comment thread src/main/groovy/org/codenarc/rule/concurrency/NoScriptBindingsRule.groovy Outdated
Comment thread src/main/groovy/org/codenarc/rule/concurrency/NoScriptBindingsRule.groovy Outdated
Comment thread src/main/resources/codenarc-base-messages.properties Outdated
Comment thread src/test/groovy/org/codenarc/rule/concurrency/NoScriptBindingsRuleTest.groovy Outdated
@jchorl

jchorl commented Jul 22, 2023

Copy link
Copy Markdown
Contributor Author

Thanks for the quick review. Tests are passing, and I think I addressed all the feedback.

@chrismair chrismair merged commit 58c692c into CodeNarc:master Jul 22, 2023
@chrismair

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

chrismair added a commit that referenced this pull request Jul 30, 2023
add rule for detecting script bindings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants