add haxe formatter config
This commit is contained in:
parent
a1f74c0db5
commit
d12c43c057
1 changed files with 51 additions and 0 deletions
51
hxformat.json
Normal file
51
hxformat.json
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
"wrapping": {
|
||||||
|
"arrayWrap": {
|
||||||
|
"defaultWrap": "onePerLine",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"cond": "totalItemLength <= n",
|
||||||
|
"value": 50
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "noWrap"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"methodChain": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"cond": "itemCount >= n",
|
||||||
|
"value": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "onePerLine"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"callParameter": {
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"cond": "itemCount >= n",
|
||||||
|
"value": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cond": "totalItemLength >= n",
|
||||||
|
"value": 50
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "onePerLine"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"indentation": {
|
||||||
|
"character": " "
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue