Doc: Folder name typo "queires" → rename to "queries" for consistency #6

Closed
opened 2026-06-17 14:09:03 +00:00 by abumahid · 0 comments
Owner

Description

The project currently contains a misspelled directory:

src/hooks/queires

The intended folder name appears to be:

src/hooks/queries

This typo propagates throughout the codebase via import statements and creates inconsistency with common naming conventions.

Impact

  • Confusing for new contributors.
  • Increased chance of import path mistakes.
  • Makes codebase navigation more difficult.
  • Creates friction when searching for query-related hooks.
  • Reduces overall project consistency and professionalism.
  • May cause case-sensitive filesystem issues during future refactoring.

Location

Folder

src/hooks/queires

Affected Imports

Examples:

import { useProjects } from "@/hooks/queires/useProjects";
import { useUsers } from "@/hooks/queires/useUsers";

Additional occurrences should be identified and updated.


Suggested Fix

Rename the directory:

src/hooks/queires

to

src/hooks/queries

Then update all affected import paths throughout the application.

Recommended Command

Use Git-aware renaming to preserve file history:

git mv src/hooks/queires src/hooks/queries

Acceptance Criteria

  • Rename src/hooks/queires to src/hooks/queries.
  • Update all imports referencing the old path.
  • No broken imports remain.
  • Application compiles successfully.
  • IDE navigation and auto-import functionality continue working.
  • No new TypeScript or ESLint errors are introduced.
## Description The project currently contains a misspelled directory: ```text src/hooks/queires ``` The intended folder name appears to be: ```text src/hooks/queries ``` This typo propagates throughout the codebase via import statements and creates inconsistency with common naming conventions. ## Impact * Confusing for new contributors. * Increased chance of import path mistakes. * Makes codebase navigation more difficult. * Creates friction when searching for query-related hooks. * Reduces overall project consistency and professionalism. * May cause case-sensitive filesystem issues during future refactoring. ## Location ### Folder ```text src/hooks/queires ``` ### Affected Imports Examples: ```ts import { useProjects } from "@/hooks/queires/useProjects"; ``` ```ts import { useUsers } from "@/hooks/queires/useUsers"; ``` Additional occurrences should be identified and updated. --- ## Suggested Fix Rename the directory: ```text src/hooks/queires ``` to ```text src/hooks/queries ``` Then update all affected import paths throughout the application. ### Recommended Command Use Git-aware renaming to preserve file history: ```bash git mv src/hooks/queires src/hooks/queries ``` --- ## Acceptance Criteria * [ ] Rename `src/hooks/queires` to `src/hooks/queries`. * [ ] Update all imports referencing the old path. * [ ] No broken imports remain. * [ ] Application compiles successfully. * [ ] IDE navigation and auto-import functionality continue working. * [ ] No new TypeScript or ESLint errors are introduced.
abumahid added the Kind/Documentation label 2026-06-17 14:09:03 +00:00
abumahid added this to the techzaa-frontend project 2026-06-17 14:09:03 +00:00
rimi moved this to Done in techzaa-frontend on 2026-06-17 16:23:43 +00:00
rimi closed this issue 2026-06-17 16:24:31 +00:00
Sign in to join this conversation.