Skip to content

[Docs] show bare plugin flat config usage - #3284

Merged
ljharb merged 1 commit into
import-js:mainfrom
raisulchowdhury:codex-3083-flat-config-docs
Aug 21, 2026
Merged

[Docs] show bare plugin flat config usage#3284
ljharb merged 1 commit into
import-js:mainfrom
raisulchowdhury:codex-3083-flat-config-docs

Conversation

@raisulchowdhury

@raisulchowdhury raisulchowdhury commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • document how to register eslint-plugin-import directly in flat config and enable a selected rule without a preset
  • add a TypeScript flat-config example with the TypeScript parser and resolver settings

Fixes #3083.

Validation

  • npx --yes markdownlint-cli@0.35 README.md
  • git diff --check

AI assistance

This PR was prepared with AI assistance. The changes are limited to the README, and the examples and diff were reviewed against the existing flat-config guidance in this repository.

Add flat-config examples for enabling selected import rules without a preset, including a TypeScript parser and resolver setup.

Assisted-by: OpenAI Codex
Signed-off-by: raisulchowdhury <34920788+raisulchowdhury@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 1, 2026 16:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ljharb ljharb reopened this Aug 17, 2026
@ljharb
ljharb force-pushed the codex-3083-flat-config-docs branch from 17e3cbd to ee005b6 Compare August 21, 2026 04:24
@ljharb ljharb changed the title docs: show bare plugin flat config usage [Docs] show bare plugin flat config usage Aug 21, 2026
@ljharb ljharb added the docs label Aug 21, 2026
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.57%. Comparing base (a0a9e16) to head (ee005b6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3284   +/-   ##
=======================================
  Coverage   79.57%   79.57%           
=======================================
  Files          98       98           
  Lines        4539     4539           
  Branches     1537     1537           
=======================================
  Hits         3612     3612           
  Misses        927      927           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ljharb
ljharb merged commit ee005b6 into import-js:main Aug 21, 2026
422 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

No way to import the bare plugin without predefined flat config?

3 participants