-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathissue0379.txt
72 lines (66 loc) · 2.24 KB
/
issue0379.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
~~ indentWidth: 4, lineWidth: 80, memberExpression.linePerExpression: true, binaryExpression.linePerExpression: true, binaryExpression.operatorPosition: sameLine ~~
== should prioritize break after the assignment operator ==
const camelcasedName = defaultName.split('-').map((x) => x.charAt(0).toUpperCase() + x.substring(1)).join('');
const namespacedName = 'Foo' + defaultName.split('-').map((x) => x.charAt(0).toUpperCase() + x.substring(1)).join('');
const namespacedName2 =
"Foo" +
defaultName
.split("-")
.map((x) => x.charAt(0).toUpperCase() + x.substring(1))
.join("");
const myObject = {
long_concatenated_value: "Hello" + "World" + "this" + "is" + "a" + "long" + "string",
long_concatenated_value_two: "This" + "expression" + "exceeds" + "the" + "line" + "width" + "on" + "its" + "own"
};
const linebreak_test_1 = "Hello" + "World" + "this" + "is" + "a" + "long" + "string";
const linebreak_test_2 = "This" + "expression" + "exceeds" + "the" + "line" + "width" + "on" + "its" + "own";
[expect]
const camelcasedName = defaultName
.split("-")
.map((x) => x.charAt(0).toUpperCase() + x.substring(1))
.join("");
const namespacedName =
"Foo" +
defaultName
.split("-")
.map((x) => x.charAt(0).toUpperCase() + x.substring(1))
.join("");
const namespacedName2 =
"Foo" +
defaultName
.split("-")
.map((x) => x.charAt(0).toUpperCase() + x.substring(1))
.join("");
const myObject = {
long_concatenated_value:
"Hello" + "World" + "this" + "is" + "a" + "long" + "string",
long_concatenated_value_two:
"This" +
"expression" +
"exceeds" +
"the" +
"line" +
"width" +
"on" +
"its" +
"own",
};
const linebreak_test_1 =
"Hello" + "World" + "this" + "is" + "a" + "long" + "string";
const linebreak_test_2 =
"This" +
"expression" +
"exceeds" +
"the" +
"line" +
"width" +
"on" +
"its" +
"own";
== should prioritize break after the assignment operator ==
const linebreak_test_1 =
"Hello World this" +
"is a long string to column sixty-five.";
[expect]
const linebreak_test_1 =
"Hello World this" + "is a long string to column sixty-five.";