eslint-plugin-wordpress icon indicating copy to clipboard operation
eslint-plugin-wordpress copied to clipboard

npmjs.com package causes ESLint plugin loading Exception

Open onpubcom opened this issue 9 years ago • 4 comments

The version of this package published at https://www.npmjs.com/package/eslint-plugin-wordpress causes ESLint to throw an exception when it attempts to load the plugin due to missing files. The github/master version of this plugin installs via npm and loads properly via eslint. Would it be possible to update the npmjs version of this package? Thanks much.

onpubcom avatar Sep 05 '16 17:09 onpubcom

Apologies for the late reply @onpubcom, I'll try to get a new release published this week, I'll also update the docs on the caveats of using this work in progress eslint-plugin-wordpress version.

FYI: I'm pretty sure I'll release 2 major versions of https://github.com/ntwb/eslint-config-wordpress before I release a new version of this eslint-plugin-wordpress here as there is a lot of work to still go into a "true" major version bump here.

ntwb avatar Oct 16 '16 01:10 ntwb

I've created a v1, v2, and v3 Roadmap: https://github.com/ntwb/eslint-config-wordpress/issues/8

(I'll still get the docs updated here for using eslint-plugin-wordpress)

ntwb avatar Oct 16 '16 06:10 ntwb

Thanks for the detailed reply @ntwb, sounds great. We are getting by just fine in the meantime by pulling this plugin directly via GitHub in our package.json. Looking forward to the future updates.

onpubcom avatar Oct 17 '16 16:10 onpubcom

@onpubcom Awesome, that said there are quite a few issues with the recommended eslint-plugin-wordpress config as it currently stands 😏

I've released v1 of eslint-config-wordpress a couple of days ago, I'll release v2 maybe by the end of the week, or wait for a total of 7 days or so, and can then start focusing back here with eslint-plugin-wordpress in preparation for v3 eslint-config-wordpress and v1 eslint-plugin-wordpress releases.

ntwb avatar Oct 18 '16 10:10 ntwb