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

refactor(rest): ensure types follow naming pattern #1065

Merged
merged 4 commits into from
Aug 22, 2024

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented Aug 19, 2024

Added a custom ESLint rule to ensure REST types follow the following naming pattern:

/^REST(?:Get|Patch|Post|Put|Delete)\w+(?:JSONBody|FormDataBody|URLEncodedData|Result|Query)$/

@almeidx almeidx requested review from a team and vladfrangu as code owners August 19, 2024 20:35
@almeidx almeidx requested review from iCrawl, kyranet and SpaceEEC August 19, 2024 20:35
Copy link

vercel bot commented Aug 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
discord-api-types ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2024 11:54am

@almeidx almeidx requested a review from vladfrangu August 21, 2024 09:35
.eslint-plugin-local/index.ts Outdated Show resolved Hide resolved
Co-authored-by: Synbulat Biishev <signin@syjalo.dev>
@vladfrangu vladfrangu merged commit 86a9f96 into main Aug 22, 2024
6 checks passed
@vladfrangu vladfrangu deleted the refactor/consistent-rest-types branch August 22, 2024 11:41
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.

3 participants