Open knolleary opened 3 years ago
Since ESLint v7.8.0, some features have been extracted to @eslint/eslintrc
, so I think we need to register it in dependencies in package.json
.
In scripts/build.js, package id extraction logic does not deal with scoped modules (modules starting with @
). This may be why @eslint/eslintrc
is not automatically registered in the dependencies.
Maybe a PR is needed?
Hi,
I'm trying to use webpack to create a bundle that includes
eslint4b
to run in a WebWorker.I have the following
webpack.config.js
:When I run webpack, I get multiple errors of the sort:
This happens for:
@eslint/eslintrc/conf/environments'
@eslint/eslintrc/lib/shared/config-ops
@eslint/eslintrc/lib/shared/config-validator
I have found I need to have the full
eslint
installed as a dependency of my own module for the webpack to work. Is that expected?