grocy/.vscode/settings.json
2020-08-31 08:50:55 +02:00

47 lines
1.3 KiB
JSON

{
"phpserver.relativePath": "public",
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.insertSpaces": false,
"javascript.format.placeOpenBraceOnNewLineForControlBlocks": true,
"javascript.format.placeOpenBraceOnNewLineForFunctions": true,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
"javascript.preferences.quoteStyle": "double",
"blade.format.enable": true,
"html.format.wrapAttributes": "force",
"html.format.wrapLineLength": 0,
"phpfmt.passes": [
"AddMissingParentheses",
"AliasToMaster",
"AllmanStyleBraces",
"AutoSemicolon",
"ClassToSelf",
"ConvertOpenTagWithEcho",
"DoubleToSingleQuote",
"OrderAndRemoveUseClauses",
"OrganizeClass",
"ReindentSwitchBlocks",
"RemoveIncludeParentheses",
"RemoveSemicolonAfterCurly",
"RemoveUseLeadingSlash",
"ReplaceBooleanAndOr",
"ShortArray",
"SmartLnAfterCurlyOpen",
"SpaceAroundControlStructures",
"SpaceBetweenMethods",
"StripExtraCommaInArray",
"StripNewlineAfterClassOpen",
"StripNewlineAfterCurlyOpen",
"UpgradeToPreg",
"WrongConstructorName"
],
"phpfmt.exclude": [
"ReindentComments",
"StripNewlineWithinClassBody"
],
"phpfmt.psr2": false,
"phpfmt.detect_indent": true,
"phpfmt.smart_linebreak_after_curly": true
}