Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Create a rule generator by using a micro-generator f/w #258

Closed
loicraux opened this issue Sep 18, 2016 · 2 comments · Fixed by #679
Closed

Create a rule generator by using a micro-generator f/w #258

loicraux opened this issue Sep 18, 2016 · 2 comments · Fixed by #679
Labels
Difficulty: Hard Only someone with heavy experience in TSLint should be able to send a pull request for this issue. Domain: Tooling Repository tasks around improving source tooling. Status: Accepting PRs
Milestone

Comments

@loicraux
Copy link
Contributor

loicraux commented Sep 18, 2016

Using a micro-generator framework such as plop would make it easy for all contributors of this repository to create new rules with a level of uniformity, and also faster, by asking a set a questions and boilerplating the appropriate code.

Also because context switching is expensive :) and saving time is not the only benefit to automating workflows

What are your thoughts about this ? Also considering time versus ROI (https://xkcd.com/1205/) ?

@danielmanesku
Copy link
Contributor

Hamlet would know more if this is needed in this project, as there is already some generator available. I just wanted to say that idea of plop is very good!

@HamletDRC
Copy link
Member

I tried this a few weeks ago, but the command line node app was broken for Windows. It was something other than plop and Inquirer.js though. It looks like Inquirer.js does work in Windows and git-bash.

This is a good idea. I would just add Inquirer.js to the build and not use plop because we don't really need an entire templating engine when what we have already works. But if someone submits a PR that rewrites everything in Plop then that is OK too.

@JoshuaKGoldberg JoshuaKGoldberg added Status: Accepting PRs Difficulty: Hard Only someone with heavy experience in TSLint should be able to send a pull request for this issue. Domain: Tooling Repository tasks around improving source tooling. and removed Type: Enhancement labels Jul 4, 2018
@IllusionMH IllusionMH added this to the 6.1.0-beta milestone Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: Hard Only someone with heavy experience in TSLint should be able to send a pull request for this issue. Domain: Tooling Repository tasks around improving source tooling. Status: Accepting PRs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants