mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Kotlin: Add FP test case for misnamed reftype query
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
| Test.kt:3:23:5:9 | | Class and interface names should start in uppercase. |
|
||||
| Test.kt:7:9:8:9 | | Class and interface names should start in uppercase. |
|
||||
| Test.kt:12:1:12:13 | aaaa | Class and interface names should start in uppercase. |
|
||||
@@ -0,0 +1 @@
|
||||
Advisory/Naming/NamingConventionsRefTypes.ql
|
||||
@@ -0,0 +1,12 @@
|
||||
class Foo {
|
||||
fun myFun() {
|
||||
val nestedStr by lazy {
|
||||
"another string"
|
||||
}
|
||||
|
||||
fun nestedFun() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class aaaa {}
|
||||
Reference in New Issue
Block a user