Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ESLint import-x/order config doesn't match documented import organization

Open Beginner friendly
#9,225 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

@Devehab is already working on this.

Since Oct 27, 2026.

  • #9238 by @Devehab — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
85/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
eslint, typescript

Research direction

Read the import organization section in docs/code-style.md and compare its ordering with the rules in eslint.config.js, especially the placement of the type group. Update the documentation to describe the order the configuration enforces, then check that the section matches the listed groups. Done means readers can follow the documented order without contradicting ESLint.

Written by the indexing model from the issue text.

Description

Enter your suggestions in details:

The import ordering documented in docs/code-style.md#import-organization doesn't match ESLint import-x/order rules.

Import Organization

Organize imports in this order:

  1. Node.js built-in modules
  2. External library imports (Including @node-core/*)
  3. Relative imports (./*, ../*, #specifier/)
  4. Type-only imports at the end of each given section

Actual ESLint config:

groups: [
  'builtin',
  'external',
  'internal',
  'object',
  'type',            // <-- all type imports in one block
  ['sibling', 'parent'],
  'index',
],

Leads to:
https://github.com/nodejs/nodejs.org/blob/72c17389079e752245a45ff01786c2bb0ae12f0f/apps/site/components/EOL/VulnerabilityChips/VulnerabilityChip/index.tsx#L1-L8

Proposal: Update docs to match ESLint config.

Dominant language
TypeScript
Stars
6.9k
Forks
6.5k
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nodejs/nodejs.org

All issues in nodejs/nodejs.org

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.