Skip to content

Add eslint that was missed#478

Open
seanmarcia wants to merge 1 commit intogithub:mainfrom
seanmarcia:add_eslint_config
Open

Add eslint that was missed#478
seanmarcia wants to merge 1 commit intogithub:mainfrom
seanmarcia:add_eslint_config

Conversation

@seanmarcia
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings April 19, 2026 03:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an ESLint flat-config file to enable linting via eslint ., and updates the npm lockfile to reflect current dependency resolutions.

Changes:

  • Added eslint.config.js exporting a flat ESLint configuration composed from eslint-config-next and eslint-config-prettier.
  • Updated package-lock.json to align @types/node (and undici-types) versions with the current dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package-lock.json Updates locked versions (notably @types/node and undici-types) to match current installs/resolution.
eslint.config.js Introduces an ESLint flat-config entrypoint combining Next.js and Prettier configs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread eslint.config.js
const nextConfig = require("eslint-config-next");
const prettierConfig = require("eslint-config-prettier");

/** @type {import("eslint").Linter.Config[]} */
Copy link

Copilot AI Apr 19, 2026

Choose a reason for hiding this comment

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

eslint.config.js is a flat-config file, but the JSDoc uses import("eslint").Linter.Config[] (legacy eslintrc config type). Update this to the flat-config type (e.g., Linter.FlatConfig[]) to avoid incorrect editor/TS typing for this file.

Suggested change
/** @type {import("eslint").Linter.Config[]} */
/** @type {import("eslint").Linter.FlatConfig[]} */

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants