Open
Description
Hello people, I am trying to activate the autocomplete, and after adding Script template classes and Script templates classpath
I want to activate DangerFileScript but don't see it in Kotlin Scripting.
I see this cause of errors (Unresolved reference: danger) in my Dangerfile.df.kts
`import systems.danger.kotlin.*
danger(args) {
onGitHub {
// Big PR Check
if ((pullRequest.additions ?: 0) - (pullRequest.deletions ?: 0) > 300) {
warn("Big PR, try to keep changes smaller if you can")
}
// Work in progress check
if (pullRequest.title.contains("WIP", false)) {
warn("PR is classed as Work in Progress")
}
}
}`
Am I missing something or doing something wrong?
Thank you very much.
Metadata
Metadata
Assignees
Labels
No labels