tricinel / frontwerk

CLI toolbox for common scripts for frontend projects
MIT License
10 stars 4 forks source link

Ad tslint config for TypeScript projects #2

Open tricinel opened 6 years ago

tricinel commented 6 years ago

While this is a JavaScript-oriented toolbox, I'd like to have TypeScript working in here as well. This means adding tslint in addition to eslint rules and picking the right one based on whether the user has TS or not in their dependencies.

dikaeinstein commented 6 years ago

Hi @tricinel I'm on it

tricinel commented 6 years ago

Go for it! Might I suggest a good starting point would be to have frontwerk use TypeScript and tslint internally before exposing that config through the API?

dikaeinstein commented 6 years ago

@tricinel Is the condition for using tslint for linting just the presence of TS and tslint as a dependency or based on the config file passed to frontwerk lint command.