Repository navigation
docs: add eslint-plugin-node migration guide - #561
aladdin-add merged 1 commit into
Conversation
Assisted-by: OpenAI Codex Signed-off-by: raisulchowdhury <34920788+raisulchowdhury@users.noreply.github.com>
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 07f34f2778
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| ```js | ||
| import n from "eslint-plugin-n" | ||
| import { defineConfig } from "eslint/config" |
There was a problem hiding this comment.
Keep the flat-config example compatible with supported ESLint
For users migrating while remaining on ESLint 8.57.1 or an earlier ESLint 9 releaseβversions this package explicitly supportsβdefineConfig with extends is unavailable, so this example fails before linting begins. Show the broadly compatible export default [n.configs["flat/recommended-module"]] form, or clearly state the newer ESLint version required and provide the compatible alternative.
Useful? React with πΒ / π.
Summary
eslint-plugin-nodetoeslint-plugin-n.Closes #178
Validation: markdownlint passes for the README and guide; Prettier and
git diff --checkpass.AI assistance: OpenAI Codex assisted with the implementation and validation; the contributor reviewed the final diff and current configuration semantics.