Skip to content

Add docs for method-declaration-format and type-parameter-format lint rules#1198

Merged
SeanTAllen merged 1 commit intomainfrom
add-method-declaration-type-parameter-lint-docs
Feb 28, 2026
Merged

Add docs for method-declaration-format and type-parameter-format lint rules#1198
SeanTAllen merged 1 commit intomainfrom
add-method-declaration-type-parameter-lint-docs

Conversation

@SeanTAllen
Copy link
Member

Adds linting documentation for two new pony-lint rules from ponylang/ponyc#4892:

  • style/method-declaration-format: checks multiline method declaration formatting (one parameter per line, return type : indentation, => alignment)
  • style/type-parameter-format: checks multiline type parameter formatting ([ placement, one type parameter per line, is alignment)

Both rules get table entries in the linting overview and detailed reference sections with incorrect/correct examples.

Closes #1195

… rules

Two new pony-lint rules were added in ponylang/ponyc#4892. This adds
the corresponding table entries in the linting overview and detailed
rule reference sections with examples.

Closes #1195
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Feb 28, 2026
@SeanTAllen SeanTAllen merged commit 8c65ea7 into main Feb 28, 2026
11 checks passed
@SeanTAllen SeanTAllen deleted the add-method-declaration-type-parameter-lint-docs branch February 28, 2026 19:27
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update linting documentation for new pony-lint rules

2 participants