Skip to content

Commit cdb4a78

Browse files
committed
precommit
1 parent 3f59388 commit cdb4a78

File tree

142 files changed

+731
-642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+731
-642
lines changed

docs/diagnostics/MissingVariablesDescription.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
## Примеры
1313
<!-- В данном разделе приводятся примеры, на которые диагностика срабатывает, а также можно привести пример, как можно исправить ситуацию -->
1414

15-
## Примеры
1615
Неправильно:
1716

1817
```bsl
@@ -31,7 +30,6 @@
3130
## Источники
3231
<!-- Необходимо указывать ссылки на все источники, из которых почерпнута информация для создания диагностики -->
3332

34-
3533
* Источник: [Соглашения при написания кода. Структура модуля](https://its.1c.ru/db/v8std#content:455:hdoc)
3634

3735
## Сниппеты

docs/en/diagnostics/BeginTransactionBeforeTryCatch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Violating transaction rules for the 'BeginTransaction' method (BeginTransactionBeforeTryCatch)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:-------:|:-------------------:|:--------:|:-----------------------------:|:-----------------------:|:----------:|
5-
| `Error` | `BSL`<br>`OS` | `Major` | `Yes` | `10` | `standard` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Error` | `BSL`<br>`OS` | `Major` | `Yes` | `10` | `standard`
66

77
<!-- Блоки выше заполняются автоматически, не трогать -->
88
## Description

docs/en/diagnostics/CachedPublic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Cached public methods (CachedPublic)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:------------:|:-----:|:--------:|:-----------------------------:|:-----------------------:|:----------------------------:|
5-
| `Code smell` | `BSL` | `Major` | `Yes` | `5` | `standard`<br>`design` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Code smell` | `BSL` | `Major` | `Yes` | `5` | `standard`<br>`design`
66

77
<!-- Блоки выше заполняются автоматически, не трогать -->
88
## Description

docs/en/diagnostics/CanonicalSpellingKeywords.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Canonical keyword writing (CanonicalSpellingKeywords)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:------------:|:-------------------:|:--------:|:-----------------------------:|:-----------------------:|:----------:|
5-
| `Code smell` | `BSL`<br>`OS` | `Info` | `Yes` | `1` | `standard` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Code smell` | `BSL`<br>`OS` | `Info` | `Yes` | `1` | `standard`
66

77
<!-- Блоки выше заполняются автоматически, не трогать -->
88
## Description

docs/en/diagnostics/CodeBlockBeforeSub.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Method definitions must be placed before the module body operators (CodeBlockBeforeSub)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:-------:|:-------------------:|:---------:|:-----------------------------:|:-----------------------:|:-------:|
5-
| `Error` | `BSL`<br>`OS` | `Blocker` | `Yes` | `5` | `error` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Error` | `BSL`<br>`OS` | `Blocker` | `Yes` | `5` | `error`
66

77
<!-- Блоки выше заполняются автоматически, не трогать -->
88
## Description

docs/en/diagnostics/CodeOutOfRegion.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Code out of region (CodeOutOfRegion)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:------------:|:-----:|:--------:|:-----------------------------:|:-----------------------:|:----------:|
5-
| `Code smell` | `BSL` | `Info` | `Yes` | `1` | `standard` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Code smell` | `BSL` | `Info` | `Yes` | `1` | `standard`
66

7-
## Parameters
7+
## Parameters
88

9-
| Name | Type | Description | Default value |
10-
|:------------------------:|:---------:|:--------------------------- |:-------------:|
11-
| `checkUnknownModuleType` | `Boolean` | `Check unknown module type` | `false` |
9+
Name | Type | Description | Default value
10+
:-: | :-: | :-- | :-:
11+
`checkUnknownModuleType` | `Boolean` | ```Check unknown module type``` | ```false```
1212

1313
<!-- Блоки выше заполняются автоматически, не трогать -->
1414
## Description

docs/en/diagnostics/CognitiveComplexity.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Cognitive complexity (CognitiveComplexity)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:------------:|:-------------------:|:----------:|:-----------------------------:|:-----------------------:|:---------------:|
5-
| `Code smell` | `BSL`<br>`OS` | `Critical` | `Yes` | `15` | `brainoverload` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Code smell` | `BSL`<br>`OS` | `Critical` | `Yes` | `15` | `brainoverload`
66

7-
## Parameters
7+
## Parameters
88

9-
| Name | Type | Description | Default value |
10-
|:---------------------:|:---------:|:---------------------- |:-------------:|
11-
| `complexityThreshold` | `Integer` | `Complexity threshold` | `15` |
12-
| `checkModuleBody` | `Boolean` | `Check module body` | `true` |
9+
Name | Type | Description | Default value
10+
:-: | :-: | :-- | :-:
11+
`complexityThreshold` | `Integer` | ```Complexity threshold``` | ```15```
12+
`checkModuleBody` | `Boolean` | ```Check module body``` | ```true```
1313

1414
<!-- Блоки выше заполняются автоматически, не трогать -->
1515
## Description

docs/en/diagnostics/CommandModuleExportMethods.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Export methods in command and general command modules (CommandModuleExportMethods)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:------------:|:-----:|:--------:|:-----------------------------:|:-----------------------:|:----------------------------:|
5-
| `Code smell` | `BSL` | `Info` | `Yes` | `1` | `standard`<br>`clumsy` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Code smell` | `BSL` | `Info` | `Yes` | `1` | `standard`<br>`clumsy`
66

77
<!-- Блоки выше заполняются автоматически, не трогать -->
88
## Description

docs/en/diagnostics/CommentedCode.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Commented out code (CommentedCode)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:------------:|:-------------------:|:--------:|:-----------------------------:|:-----------------------:|:---------------------------------:|
5-
| `Code smell` | `BSL`<br>`OS` | `Minor` | `Yes` | `1` | `standard`<br>`badpractice` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Code smell` | `BSL`<br>`OS` | `Minor` | `Yes` | `1` | `standard`<br>`badpractice`
66

7-
## Parameters
7+
## Parameters
88

9-
| Name | Type | Description | Default value |
10-
|:-----------:|:-------:|:----------- |:-------------:|
11-
| `threshold` | `Float` | `Threshold` | `0.9` |
9+
Name | Type | Description | Default value
10+
:-: | :-: | :-- | :-:
11+
`threshold` | `Float` | ```Threshold``` | ```0.9```
1212

1313
<!-- Блоки выше заполняются автоматически, не трогать -->
1414
## Description

docs/en/diagnostics/CommitTransactionOutsideTryCatch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Violating transaction rules for the 'CommitTransaction' method (CommitTransactionOutsideTryCatch)
22

3-
| Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags |
4-
|:-------:|:-------------------:|:--------:|:-----------------------------:|:-----------------------:|:----------:|
5-
| `Error` | `BSL`<br>`OS` | `Major` | `Yes` | `10` | `standard` |
3+
Type | Scope | Severity | Activated<br>by default | Minutes<br>to fix | Tags
4+
:-: | :-: | :-: | :-: | :-: | :-:
5+
`Error` | `BSL`<br>`OS` | `Major` | `Yes` | `10` | `standard`
66

77
<!-- Блоки выше заполняются автоматически, не трогать -->
88
## Description

0 commit comments

Comments
 (0)