Skip to content

Commit

Permalink
G5V8DT-24086 Ложные срабатывания проверки The asynchronous method is
Browse files Browse the repository at this point in the history
followed by lines of code

Правки по ревью
  • Loading branch information
MaksimDzyuba committed Feb 7, 2024
1 parent ccec2bb commit 0fefbd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

- Проверка на уникальность имени поля в doc-comment-field-name #1392
- Проверка модификации ключей структуры вне функции-конструктора #1054
- По умолчанию проверка "Код не должен следовать за асинхронным вызовом" (code-after-async-call) выключена. См. обсуждение в https://github.com/1C-Company/v8-code-style/pull/1408


#### Запросы
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
import com.e1c.g5.v8.dt.check.settings.IssueSeverity;
import com.e1c.g5.v8.dt.check.settings.IssueType;
import com.e1c.v8codestyle.bsl.IAsyncInvocationProvider;
import com.e1c.v8codestyle.check.CommonSenseCheckExtension;
import com.e1c.v8codestyle.internal.bsl.BslPlugin;
import com.google.common.collect.Lists;
import com.google.inject.Inject;

Expand Down Expand Up @@ -102,7 +100,6 @@ protected void configureCheck(CheckConfigurer builder)
.severity(IssueSeverity.MAJOR)
.issueType(IssueType.WARNING)
.disable()
.extension(new CommonSenseCheckExtension(getCheckId(), BslPlugin.PLUGIN_ID))
.module()
.checkedObjectType(INVOCATION)
.parameter(PARAMETER_NAME, Boolean.class, DEFAULT_CHECK, Messages.CodeAfterAsyncCallCheck_Parameter);
Expand Down

0 comments on commit 0fefbd2

Please sign in to comment.