JoshuaKGoldberg / eslint-plugin-package-json

Rules for consistent, readable, and valid package.json files. 🗂️
MIT License
117 stars 21 forks source link

The recommended config doesn't enable the plugin for you #47

Open Zamiell opened 1 year ago

Zamiell commented 1 year ago

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.

JoshuaKGoldberg commented 1 year ago

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

JoshuaKGoldberg commented 9 months ago

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?