Closed dimadk24 closed 5 years ago
Hey @DimaDK24. Thanks for the report.
@dangreenisrael I suspect that we'll either need to 1) export a single object as the default export or 2) export a single object with module.exports
. I've seen other eslint plugins that use module.exports
with an object while the rest of the file ES6 uses import/export. It comes down to how ESLint attempts to import our code and I'm not sure on the specifics. lmk your thoughts.
@DimaDK24 if you'd like a workaround while the issue is investigated you can remove the line from extends
and then list each of the rules individually under rules
.
@benkimpel, thanks for the quick response! Will do so
I'm pretty sure that this is because the master version isn't deployed to NPM. I will put a note in the readme. So sorry @DimaDK24
Ooh! Easier fix. Great, @dangreenisrael.
Also, @DimaDK24, thanks so much for taking the time to report this bug. It is appreciated.
Thanks for such a fast resolution!
😄
@DimaDK24 v1.0.0 has been released
@dangreenisrael, thanks for notifying! Updated to this version
😄
Describe the bug eslint throws
TypeError: Cannot read property 'recommended' of undefined
when extend recommended configTo Reproduce have following devDependencies in package.json:
have following .eslintrc.json:
Of course I have installed plugin via
yarn add eslint-plugin-jest-formatting --dev
. I havenode_modules/eslint-plugin-jest-formatting/lib/index.js
file. Exactly this file causes this issue.Expected behavior No error happens
Desktop (please complete the following information):