You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor changes in examples and PlainTextReporter (#151)
### What's done:
* Run save with default value for properties file in run.sh
* Introduced short reason for Fail
* Moved logic on test resources emptiness check into base Plugin class
* Collapse comment to one line in PlainTextReporter
* Improvements for kotlin-diktat example case
* Logging cleanup
// ;warn:1:9 [PACKAGE_NAME_INCORRECT_PREFIX] package name should start from company's domain: org.cqfn.save
2
+
// ;warn:1:1 [FILE_NAME_MATCH_CLASS] file name is incorrect - it should match with the class described in it if there is the only one class declared: GenericFunctionTest.kt vs ClassName
// ;warn:6:13 [LOCAL_VARIABLE_EARLY_DECLARATION] local variables should be declared close to the line where they are first used: <variableName> is declared on line <6> and is used for the first time on line <9> (cannot be auto-corrected)
9
+
// ;warn:6:43 [NULLABLE_PROPERTY_TYPE] try to avoid use of nullable types: initialize explicitly (cannot be auto-corrected)
10
+
val variableName:Template?=null
11
+
// ;warn:7:17 [VARIABLE_NAME_INCORRECT_FORMAT] variable name should be in lowerCamelCase and should contain only latin (ASCII) letters or numbers and should start from lower letter: variableT
12
+
// ;warn:7:33 [NULLABLE_PROPERTY_TYPE] try to avoid use of nullable types: initialize explicitly (cannot be auto-corrected)
13
+
val variableT:T?=null
14
+
println(variableT)
15
+
return body!!(variableName)
16
+
} finally {
17
+
println()
18
+
}
19
+
}
20
+
21
+
// ;warn:15:5 [MISSING_KDOC_ON_FUNCTION] all public, internal and protected functions should have Kdoc with proper tags: foo
0 commit comments