Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOD SpaceAtStartCommentDiagnostic #1846

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

theshadowco
Copy link
Member

Описание

Добавлен параметр, активирующий режим строгой проверки комментариев (т.е. как и было до сих пор). Выключая его, диагностика позволяет использовать "двойные" комментарии, т.е. будет так

/// Текст без ошибки
////////////// Текст без ошибки
///////////////////////////////////////////// Текст без ошибки
///Текст с ошибкой
/////Текст с ошибкой

Связанные задачи

Closes: #1458

Чеклист

Общие

  • Ветка PR обновлена из develop
  • Отладочные, закомментированные и прочие, не имеющие смысла участки кода удалены
  • Изменения покрыты тестами
  • Обязательные действия перед коммитом выполнены (запускал команду gradlew precommit)

Для диагностик

  • Описание диагностики заполнено для обоих языков (присутствуют файлы для обоих языков, для русского заполнено все подробно, перевод на английский можно опустить)

Дополнительно

@sonarcloud
Copy link

sonarcloud bot commented Oct 4, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@@ -20,7 +20,7 @@

//(с) Похоже на строку с копирайтом, но С - на кириллице

//// Плохой комментарий, т.к. он двойной
//// Плохой комментарий, т.к. он двойной, но пусть будет
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D

@theshadowco theshadowco merged commit c898c0c into develop Oct 4, 2021
@theshadowco theshadowco deleted the feature/modSpaceAtStartComment branch October 4, 2021 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FP] BSLLS:SpaceAtStartComment на двойном комменте
2 participants