Skip to content

Update ESLint to v10.0.2#66

Open
Art Chaidarun (artnc) wants to merge 1 commit intoupdate-dependenciesfrom
update-eslint-to-v1002
Open

Update ESLint to v10.0.2#66
Art Chaidarun (artnc) wants to merge 1 commit intoupdate-dependenciesfrom
update-eslint-to-v1002

Conversation

@artnc
Copy link
Member

No description provided.

@artnc Art Chaidarun (artnc) force-pushed the update-eslint-to-v1002 branch 4 times, most recently from 51e500c to ea912dd Compare March 6, 2026 08:31
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ea912dd866

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "codex (@codex) address that feedback".

[HookName.Prettier]: {
action: sources => run("prettier", ...PRETTIER_OPTIONS, ...sources),
include: /\.(css|html?|markdown|md|scss|tsx?|ya?ml)$/,
include: /\.(css|html?|markdown|md|mjs|scss|tsx?|ya?ml)$/,

Choose a reason for hiding this comment

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

P2 Badge Run ESLint on .mjs files

Adding mjs to the Prettier hook means .mjs sources are now part of the formatting pipeline, but the ESLint hook still only matches /\.[jt]sx?$/, so those files skip ESLint entirely. In this change that includes the renamed eslint.config.mjs, which previously received ESLint autofixes when it was .js; repos with ESM .mjs files will now get only Prettier formatting and miss ESLint-based fixes (for example import/object ordering rules).

Useful? React with 👍 / 👎.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b5f255753c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "codex (@codex) address that feedback".

},
exclude: MINIFIED_JS_REGEX,
include: /\.[jt]sx?$/,
include: /\.(mjs|[jt]sx?)$/,

Choose a reason for hiding this comment

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

P2 Badge Match .mjs files in ESLint config globs

entry.ts now sends .mjs files to ESLint (include: /\.(mjs|[jt]sx?)$/), but the only flat-config block in eslint.config.mjs is still scoped to files: ["**/*.{js,jsx,ts,tsx}"], so .mjs inputs are effectively linted with no rules and receive no ESLint autofixes. This means the new .mjs coverage is currently a no-op (including for eslint.config.mjs itself), which undermines the migration intent and can leave .mjs files inconsistently formatted compared with .js/.ts files.

Useful? React with 👍 / 👎.

@artnc Art Chaidarun (artnc) force-pushed the update-eslint-to-v1002 branch 3 times, most recently from c23a268 to 96567e2 Compare March 6, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant