-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.bsl-language-server.json
31 lines (31 loc) · 1.34 KB
/
.bsl-language-server.json
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
{
"$schema": "https://1c-syntax.github.io/bsl-language-server/configuration/schema.json",
"language": "ru",
"diagnostics": {
"computeTrigger": "onType",
"parameters": {
"LineLength": {
"maxLineLength": 140
},
"TernaryOperatorUsage": true,
"FunctionNameStartsWithGet": true,
"TooManyReturns": true,
"UsingLikeInQuery": true,
"CodeAfterAsyncCall": true,
"FieldsFromJoinsWithoutIsNull": true,
"MissingTempStorageDeletion": true,
"MagicNumber": {
"authorizedNumbers": "-1,0,1,100"
},
"IncorrectLineBreak": {
"checkFirstSymbol": true,
"listOfIncorrectFirstSymbol": "\\)|;|\\);",
"checkLastSymbol": true,
"listOfIncorrectLastSymbol": "ИЛИ|И|OR|AND|\\+|-|/|%|\\*"
},
"UsingServiceTag": {
"serviceTags": "todo|fixme|!!|mrg|@(?!strict-types|skip-check)|отладка|debug|для\\s*отладки|(\\{\\{|\\}\\})КОНСТРУКТОР_|(\\{\\{|\\}\\})MRG|Вставить\\s*содержимое\\s*обработчика|Paste\\s*handler\\s*content|Insert\\s*handler\\s*code|Insert\\s*handler\\s*content|Insert\\s*handler\\s*contents"
}
}
}
}