Skip to content

Publish typescript-eslint utilities for 3rd party plugin authors #330

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

Closed
mohsen1 opened this issue Mar 2, 2019 · 3 comments · Fixed by #425
Closed

Publish typescript-eslint utilities for 3rd party plugin authors #330

mohsen1 opened this issue Mar 2, 2019 · 3 comments · Fixed by #425
Labels
enhancement New feature or request has pr there is a PR raised to close this

Comments

@mohsen1
Copy link
Contributor

mohsen1 commented Mar 2, 2019

A lot of good work has gone into this project to make it possible to write type safe rules. It would be great to publish a package that includes:

  • Typed createRule function
  • Typed RuleTester class
  • General ts-eslint types
@mohsen1 mohsen1 added package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for team members to take a look labels Mar 2, 2019
@bradzacher
Copy link
Member

Do you think this is a good candidate to barrel up with the createRule function?

Could then instead name it @typescript-eslint/util or similar.

@bradzacher bradzacher added enhancement New feature or request question Questions! (i.e. not a bug / enhancment / documentation) and removed package: eslint-plugin Issues related to @typescript-eslint/eslint-plugin triage Waiting for team members to take a look labels Mar 6, 2019
@mohsen1 mohsen1 changed the title Publish the 'ts-eslint' types to npm Publish typescript-eslint utilities for 3rd party plugin authors Mar 9, 2019
@ali-habibzadeh
Copy link

Is there a recipe for writing custom ts rules at the moment using @typescript-eslint/eslint-plugin?

@bradzacher bradzacher removed the question Questions! (i.e. not a bug / enhancment / documentation) label Mar 16, 2019
@bradzacher
Copy link
Member

If you're talking about "internal" rules that you don't intend to submit to this repo, then nope, we don't yet have a recipe for that.

We'll more than likely go down this route and expose our internal tooling to the world. Just need to find the time to do it..

@bradzacher bradzacher added the has pr there is a PR raised to close this label Apr 25, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request has pr there is a PR raised to close this
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants