Skip to content

Commit a09a37f

Browse files
committed
Add input files
1 parent 7b8f740 commit a09a37f

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

.automation/test/json/json_fix_1.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"arrow_spacing":{
3+
"level": "ignore"
4+
},
5+
"braces_spacing": {
6+
"level": "ignore",
7+
"spaces": 0,
8+
"empty_object_spaces": 0
9+
}
10+
}

.automation/test/jsx/jsx_fix_1.jsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/* eslint capitalized-comments: ["error"] */
2+
//a
3+
4+
/*eslint no-else-return: "error"*/
5+
6+
function foo() {
7+
var x = true
8+
var y = 0
9+
var z = 0
10+
11+
if (x) {
12+
return y;
13+
} else {
14+
return z;
15+
}
16+
}
17+
18+
foo()

.automation/test/kotlin/Kotlinfix1.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
internal abstract class A{
2+
protected open val v = ""
3+
internal open suspend fun f(v: Any): Any = ""
4+
public lateinit var lv: String
5+
abstract tailrec fun findFixPoint(x: Double = 1.0): Double
6+
}
7+
8+
class B : A() {
9+
public override val v = ""
10+
override suspend fun f(v: Any): Any = ""
11+
override tailrec fun findFixPoint(x: Double): Double = if (x == Math.cos(x)) x else findFixPoint(Math.cos(x))
12+
}

0 commit comments

Comments
 (0)