Skip to content

TypeScript Boilerplate #16

@EdJoPaTo

Description

@EdJoPaTo

I would like to see a TypeScript boilerplate with yeoman support.

I created a module from this and adapted it to TypeScript usage. As it uses tslint-xo, your tsconfig and Ava I think it is fitting to be added to your set of boilerplates. I can adapt it to be a boilerplate and create a PR for it but I am not sure if this repository is fitting. Also I am not sure about the workflow to decide between CLI, JavaScript or TypeScript within the yeoman generator. I would like feedback first.

The node module I created: https://github.com/EdJoPaTo/angle-distance
Please check it out and review it as a basic TypeScript module.

This raised the question why there are multiple approaches for linting with TypeScript.
This also might be useful to answer for ongoing migrations to TypeScript like sindresorhus/got.

There is tslint-xo and xo with eslint-config-xo-typescript. Why are there both? Which one should be used?

Should there be a xo-typescript package that handles everything useful to reduce clutter in the user projects and to reduce mistakes? (For example I only import xo instead of importing a bunch of eslint packages → way less prone to errors)

Currently used scenarios:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions