In v50.0.0 , lodash dependency is missing
webextensions opened this issue · comments
webextensions commented
const {camelCase} = require('lodash');
is used in https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v50.0.0/rules/no-unnecessary-polyfills.js
But, "lodash"
isn't available in https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v50.0.0/package.json
So, when we consume this package (in another ESLint config), it is causing an issue when we try to load the latest version:
Failed to load plugin 'eslint-plugin-unicorn' declared in '.eslintrc.js ...
fisker Cheung commented
Would you like to fix it? Should import from ./utils/lodash.js
.
fisker Cheung commented
Should fixed in v50.0.1