14a5214e82
* chore: install antlr-format-cli to format g4 files * style: format all g4 files * chore: apply antlr-format to lint-staged
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"main": {
|
|
"alignTrailingComments": true,
|
|
"columnLimit": 150,
|
|
"minEmptyLines": 1,
|
|
"maxEmptyLinesToKeep": 1,
|
|
"reflowComments": false,
|
|
"useTab": false,
|
|
"allowShortRulesOnASingleLine": false,
|
|
"allowShortBlocksOnASingleLine": true,
|
|
"alignSemicolons": "hanging",
|
|
"alignColons": "hanging",
|
|
"spaceBeforeAssignmentOperators": false,
|
|
"keepEmptyLinesAtTheStartOfBlocks": true
|
|
},
|
|
"lexer": {
|
|
"alignTrailingComments": true,
|
|
"columnLimit": 150,
|
|
"maxEmptyLinesToKeep": 1,
|
|
"reflowComments": false,
|
|
"useTab": false,
|
|
"allowShortRulesOnASingleLine": true,
|
|
"allowShortBlocksOnASingleLine": true,
|
|
"minEmptyLines": 0,
|
|
"alignSemicolons": "none",
|
|
"alignColons": "trailing",
|
|
"singleLineOverrulesHangingColon": true,
|
|
"alignLexerCommands": true,
|
|
"alignLabels": true,
|
|
"alignTrailers": true,
|
|
"spaceBeforeAssignmentOperators": false,
|
|
"groupedAlignments": true
|
|
}
|
|
} |