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

Enhancement: Structure Import Order in Codebase #307

Open
2 tasks
charmi-v opened this issue Sep 11, 2024 · 0 comments
Open
2 tasks

Enhancement: Structure Import Order in Codebase #307

charmi-v opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@charmi-v
Copy link
Contributor

charmi-v commented Sep 11, 2024

Description

  • To enhance the organization and readability of codebase, we should implement a structured import order using the existing eslint-plugin-import package.
  • This will help in maintaining a consistent and clean import structure across the project.

Benefits:

  • Improved code readability and consistency.
  • Easier navigation and maintenance of import statements.

Proposed Import Order:

  1. Built-in modules
  2. Node modules
  3. Internal modules
  4. Local files from the parent directory
  5. Local files from sibling directories
  6. Index files
  7. Styles

Acceptance Criteria

  • ESLint configuration is updated to include the import/order rule with the specified import order.
  • Imports throughout the codebase are organized according to the defined order.
@charmi-v charmi-v added the enhancement New feature or request label Sep 11, 2024
@MaximilianHauer MaximilianHauer added this to the Release 24.12 milestone Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: NEW USER REQUEST
Development

No branches or pull requests

2 participants