Skip to content

NEW: @W-18495430@: Update devDependencies to use eslint v9 #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025

Conversation

stephen-carter-at-sf
Copy link
Collaborator

@stephen-carter-at-sf stephen-carter-at-sf commented May 12, 2025

Note that this the code-analyzer-eslint8-engine module obviously will be stuck on eslint v8. And note that this simply prepares the way for us to use eslint 9 with our code-analyzer-eslint-engine but that engine implementation is still to come.

"jest": "^29.7.0",
"rimraf": "*",
"ts-jest": "29.3.2",
"ts-jest": "^29.3.2",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Back with https://github.com/forcedotcom/code-analyzer-core/pull/261/files#diff-8c263af063232c1af728f80b0ebe7407da27dc2a4805c3f9c8a75725f81046bd it looks like @randi274 forgot to put back the ^ on ts-jest after we were unblocked. So fixing that here as well.

"typescript": "^5.8.3",
"typescript-eslint": "^8.30.1",
"typescript-eslint": "8.30.1",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Forgot to lock this in for the eslint8-engine ... so eslint8-engine will have everything it needs in its own node_modules folder local to its package separate from top level one.

@@ -181,7 +181,7 @@ export class LegacyESLintStrategy implements ESLintStrategy {
overrideConfigFile: userConfigInfo.getUserConfigFile(), // This is applied third.
overrideConfig: overrideConfig as Linter.Config, // This is applied fourth (on top).
ignorePath: userConfigInfo.getUserIgnoreFile()
};
} as ESLint.Options;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Makes IDE Happy because IDE struggles a little bit resolving this one type with both versions of ESLint installed.

@stephen-carter-at-sf stephen-carter-at-sf force-pushed the sc/eslintV9Prep branch 3 times, most recently from 07cd73b to c2eb769 Compare May 13, 2025 12:56
… module that are greater than the eslint8-engine
@stephen-carter-at-sf stephen-carter-at-sf merged commit 5c8907f into dev May 13, 2025
7 checks passed
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