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

FEATURE: Add cops for services #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Flink
Copy link
Contributor

@Flink Flink commented Nov 22, 2024

This PR introduces two new cops aimed at services:

  • Discourse/Services/EmptyLinesAroundBlocks: checks for missing empty
    lines around multiline blocks. It has autocorrect support.
  • Discourse/Services/GroupKeywords: checks for extra empty lines for
    service keywords (not block ones). It has autocorrect support.

Results can be seen here: discourse/discourse#29997

@Flink Flink self-assigned this Nov 22, 2024
@Flink Flink force-pushed the loic-add-service-cops branch 2 times, most recently from af97001 to 9707cd4 Compare November 28, 2024 16:01
@Flink Flink changed the title FEATURE: Add cop for services FEATURE: Add cops for services Nov 28, 2024
This patch introduces two new cops aimed at services:
- Discourse/Services/EmptyLinesAroundBlocks: checks for missing empty
  lines around multiline blocks. It has autocorrect support.
- Discourse/Services/GroupKeywords: checks for extra empty lines for
  service keywords (not block ones). It has autocorrect support.
@Flink Flink marked this pull request as ready for review November 29, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant