Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a recommended-typescript preset config #997

Closed
JoshuaKGoldberg opened this issue Mar 18, 2023 · 1 comment · Fixed by #998
Closed

Add a recommended-typescript preset config #997

JoshuaKGoldberg opened this issue Mar 18, 2023 · 1 comment · Fixed by #998

Comments

@JoshuaKGoldberg
Copy link
Contributor

JoshuaKGoldberg commented Mar 18, 2023

Motivation

This plugin is useful for TypeScript source files that still use JSDoc/TSDoc style code annotations. It'd be nice to have a preset tailored to them.

(forking discussion from #615 (comment))

Current behavior

The recommended and recommended-error preset configs enable a few rules that aren't relevant for TypeScript code, such as jsdoc/require-param-type. And TypeScript users would generally want to enable jsdoc/no-types.

Desired behavior

Since this package currently exports recommended and recommended-error, adding two new preset configs:

  • recommended-typescript
  • recommended-typescript-error

Alternatives considered

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant