jantimon / html-webpack-plugin

Simplifies creation of HTML files to serve your webpack bundles
MIT License
10.72k stars 1.31k forks source link

eslint 9: unknown option "extensions" #1859

Closed doits closed 2 months ago

doits commented 2 months ago

Current behaviour 💣

With eslint 9, the following error happens:

 Error: Child compilation failed:
  [eslint] Invalid Options:
  - Unknown options: extensions
  - 'extensions' has been removed.

  - child-compiler.js:174
    [project]/[html-webpack-plugin]/lib/child-compiler.js:174:18

Expected behaviour ☀️

It should be compatible with eslint 9.

More information

It was briefly discussed at https://github.com/eslint/eslint/discussions/18674 already, with not further outcome.

alexander-akait commented 2 months ago

Sorry, not related to html-webpack-plugin, I think you need - https://github.com/webpack-contrib/eslint-webpack-plugin/issues/263#issuecomment-2292928594

doits commented 2 months ago

Sorry for the noise and thank you for the right direction, I fixed it with your hint!