intility / intility/json-api-toolkit

Naming cleanup: constants, namespace style, const prefix

Open
#139 0 comments 0 reactions 1 assignee View on GitHub

@erlendellefsen is already working on this.

Since Aug 20, 2026.

.NET enhancement
Dominant language
C#
Stars
7
Forks
0
Avg merge
1d 4h
Merged PRs (30d)
23

Description

A few naming rule violations have crept in.

Acceptance criteria

  • MIN_PAGE_SIZE in JsonApiQueryParser.cs:16 renamed to MinPageSize
  • s_jsonApiMediaType const in JsonApiContentTypeFilter.cs:11 renamed to JsonApiMediaType
  • ServiceCollectionExtensions.cs:14 converted from block-scoped to file-scoped namespace
  • .editorconfig adds csharp_style_namespace_declarations = file_scoped:warning
  • dotnet_naming_rule.constant_fields_should_be_pascal_case.severity bumped from suggestion to warning

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.