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

Provide suggestion or auto-fix for `require-meta-docs-recommended`

Open fisker opened this issue 1 year ago • 3 comments

Make things easier if we provide suggestions or even auto-fix with recommended: true.

fisker avatar May 07 '24 10:05 fisker

I don't think it's reasonable to provide autofix - for many plugins it's a breaking change to change recommended config.

Good to provide two suggestions: recommended: true and recommended: false. Are you willing to submit a PR? :)

aladdin-add avatar May 07 '24 10:05 aladdin-add

Are you willing to submit a PR?

Not really, the only plugin I maintain is already fixed 😄 https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2336/files

fisker avatar May 07 '24 10:05 fisker

Suggestions sounds good. An autofix wouldn't really be safe since scripts/tooling often depends on this property.

bmish avatar May 07 '24 13:05 bmish