Skip to content

Commit cbce157

Browse files
committed
minor #1278 Deprecate ESLint integration (Kocal)
This PR was merged into the main branch. Discussion ---------- Deprecate ESLint integration Close #1281 Let's deprecate it for now, and remove it later in a new major version <img width="1773" alt="image" src="https://github.com/user-attachments/assets/6e817415-9cc3-4e8c-812c-143e2f16254e"> Commits ------- cae9720 Deprecate ESLint integration
2 parents c3a7584 + cae9720 commit cbce157

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/WebpackConfig.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ class WebpackConfig {
771771
}
772772

773773
enableEslintPlugin(eslintPluginOptionsOrCallback = () => {}) {
774+
logger.deprecation('The ESLint integration is now deprecated and will be removed in the next major release. Please use the standalone ESLint CLI instead, or use the ESLint Webpack plugin directly.');
775+
774776
this.useEslintPlugin = true;
775777

776778
if (typeof eslintPluginOptionsOrCallback === 'function') {

0 commit comments

Comments
 (0)