eslint-plugin-package-json icon indicating copy to clipboard operation
eslint-plugin-package-json copied to clipboard

The recommended config doesn't enable the plugin for you

Open Zamiell opened this issue 1 year ago • 2 comments

Thus, this makes people consuming the plugin have to add extra boilerplate to their configs.

See e.g. unicorn's recommended config, which is considered best practice AFAIK.

Zamiell avatar Sep 20 '23 14:09 Zamiell

I like it! Let's tackle this after #40.

JoshuaKGoldberg avatar Sep 20 '23 15:09 JoshuaKGoldberg

Reflecting on conversation from https://github.com/typescript-eslint/typescript-eslint/issues/8149: I'm not convinced about this as much anymore. I've seen folks have setups that do the "magic" for them, then get confused when things don't work.

Also, the current linked unicorn config (https://github.com/sindresorhus/eslint-plugin-unicorn/blob/331b3068d3c03c6e28a073277f5aa81dc238db3b/configs/recommended.js) just enables rules. Is there a different link we should be looking at?

JoshuaKGoldberg avatar Jan 20 '24 04:01 JoshuaKGoldberg