Skip to content

Conversation

@sjinks
Copy link
Member

@sjinks sjinks commented Dec 12, 2024

This PR:

Unfortunately, these changes are breaking; consumers' configuration files will have to be migrated manually.

The plan is to release 1.0.0-rc@next and test it on some of our code bases; once we ensure everything is good, publish 1.0.

@sjinks sjinks marked this pull request as ready for review December 18, 2024 22:06
Copy link

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.

Copilot reviewed 15 out of 30 changed files in this pull request and generated 2 comments.

Files not reviewed (15)
  • .eslintignore: Language not supported
  • .nvmrc: Language not supported
  • tests/snapshots/check-fixtures.js.snap: Language not supported
  • .eslintrc.js: Evaluated as low risk
  • configs/weak-testing.js: Evaluated as low risk
  • tests/check-fixtures.js: Evaluated as low risk
  • tests/rules/nestjs-route-prefix.ts: Evaluated as low risk
  • tests/rules/no-async-foreach.ts: Evaluated as low risk
  • configs/cli.js: Evaluated as low risk
  • configs/formatting.js: Evaluated as low risk
  • configs/index.js: Evaluated as low risk
  • configs/weak-typescript.js: Evaluated as low risk
  • configs/jsdoc.js: Evaluated as low risk
  • configs/weak-javascript.js: Evaluated as low risk
  • configs/react.js: Evaluated as low risk
Comments suppressed due to low confidence (3)

configs/javascript.js:23

  • The 'ecmaVersion' property is set twice in the 'languageOptions' object. The second instance on line 32 should be removed to avoid redundancy and potential conflicts.
ecmaVersion: 2022,

configs/testing.js:28

  • The rule 'jest/unbound-method' is not a valid rule in the Jest plugin. The correct rule name is '@typescript-eslint/unbound-method'.
'jest/unbound-method': 'error',

configs/recommended.js:22

  • The debugLog function call has been removed. This function was used to log the configurations being used, which could be useful for debugging purposes. Consider re-adding this logging functionality.
module.exports = configs;

@GaryJones
Copy link

@copilot Please review again, particularly the feedback to your comments.

Copy link

Copilot AI commented Nov 26, 2025

@GaryJones I've opened a new pull request, #224, to work on those changes. Once the pull request is ready, I'll request review from you.

@sjinks sjinks force-pushed the add-eslint-9-support branch from 9cf21a6 to 9ef85a0 Compare December 1, 2025 14:41
@sjinks sjinks requested a review from Copilot December 1, 2025 14:49
Copilot finished reviewing on behalf of sjinks December 1, 2025 14:54
Copy link

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

Copilot reviewed 28 out of 30 changed files in this pull request and generated 4 comments.

Comments suppressed due to low confidence (1)

rules/no-unguarded-get-range-at.js:11

  • The meta.messages object should be added with a message definition, and the context.report call on line 19 should use messageId instead of message. This ensures consistency with ESLint 9's rule API and matches the pattern used in nestjs-route-prefix.js.

Example fix:

meta: {
  type: 'problem',
  docs: {
    description: 'Avoid unguarded getRangeAt',
  },
  messages: {
    unguarded: 'Avoid unguarded getRangeAt',
  },
  schema: [],
},

Then update the report call to use messageId: 'unguarded'.

	meta: {
		type: 'problem',
		schema: [],
	},

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

@sjinks sjinks force-pushed the add-eslint-9-support branch from 6b31b47 to 8253530 Compare December 1, 2025 15:18
@sjinks sjinks force-pushed the add-eslint-9-support branch from 88a9ccc to a8fa6e2 Compare December 2, 2025 22:53
@sjinks sjinks force-pushed the add-eslint-9-support branch from a8fa6e2 to 8690a49 Compare December 2, 2025 23:15
@sjinks sjinks requested a review from Copilot December 2, 2025 23:17
Copilot finished reviewing on behalf of sjinks December 2, 2025 23:22
Copy link

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

Copilot reviewed 28 out of 30 changed files in this pull request and generated 8 comments.


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

@sjinks sjinks requested a review from Copilot December 3, 2025 00:16
Copilot finished reviewing on behalf of sjinks December 3, 2025 00:20
Copy link

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

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


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

@sjinks
Copy link
Member Author

sjinks commented Dec 3, 2025

@GaryJones I have created a PR in the VIP CLI repo to test this PR: Automattic/vip-cli#2650

It even seems to work 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants