Skip to content

Review and Standardize ESLint Rules for Import Statement Formatting #1502

@LeighFinegold

Description

@LeighFinegold

Background

A community member has raised a concern regarding inconsistent spacing and formatting in import statements (e.g., import { CalmWidget} from './types';). Currently, our ESLint configuration may not enforce strict formatting for imports, which can lead to code style inconsistencies.

Tasks

  • Review the current ESLint configuration, especially rules related to import formatting (e.g., import/order, spacing inside braces).
  • Consider adding or updating rules from eslint-plugin-import and integrating Prettier if not already present.
  • Document the agreed-upon import formatting style in the project's contributing guidelines.
  • Apply auto-fixes or reformat existing codebase if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions