Skip to content

Commit 6f0ea94

Browse files
author
Hugo Alliaume
committed
chore(eslint-loader): add deprecation log
1 parent 8c520ea commit 6f0ea94

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
@@ -805,6 +805,8 @@ class WebpackConfig {
805805
}
806806

807807
enableEslintLoader(eslintLoaderOptionsOrCallback = () => {}, eslintOptions = {}) {
808+
logger.deprecation('Encore.enableEslintLoader() is deprecated, please use Encore.enableEslintPlugin() instead.');
809+
808810
if (this.useEslintPlugin) {
809811
throw new Error('Encore.enableEslintLoader() can not be called when Encore.enableEslintPlugin() has been called.');
810812
}

0 commit comments

Comments
 (0)