Skip to content

Fix pluralization of area and idea - #85

Open
deepakganesh78 wants to merge 1 commit into
gobuffalo:mainfrom
deepakganesh78:fix/issue76-area-idea-plurals
Open

Fix pluralization of area and idea#85
deepakganesh78 wants to merge 1 commit into
gobuffalo:mainfrom
deepakganesh78:fix/issue76-area-idea-plurals

Conversation

@deepakganesh78

Copy link
Copy Markdown

What is being done in this PR?

Add explicit dictionary entries for area and idea, which were incorrectly treated as existing plurals by the reverse -eum/-ea no-op rule.

Fixes #76

What are the main choices made to get to this solution?

Use repository-consistent dictionary exceptions instead of weakening the ea no-op rule, preserving accepted Latin plurals such as stadia. Add regression coverage for lowercase, capitalized, snake_case, camelCase, and PascalCase identifiers.

List the manual test cases you've covered before sending this PR:

  • go test ./...
  • go vet ./...
  • golangci-lint run

Add explicit dictionary entries so the reverse -eum/-ea rule does not treat area and idea as existing plurals. Cover common identifier case styles and preserve stadia as an accepted plural.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

bug: Plural for words end with "ea" is incorrect

1 participant