Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blossom-babs/starter-file-typescript-jasmine-eslint-prettier

A boilerplate code setup for typescript, prettier code formatter and eslint linter
https://github.com/blossom-babs/starter-file-typescript-jasmine-eslint-prettier

eslint jasmine prettier typescript

Last synced: 6 days ago
JSON representation

A boilerplate code setup for typescript, prettier code formatter and eslint linter

Awesome Lists containing this project

README

        

# Typescript, eslint and prettier configuration repositiory

This is a boilerplate code for reusable typescript setup, prettier code formatter, eslint linter, and jasmine unit testing

### Helpful links

- [Typescript installation](https://www.typescriptlang.org/download).
- [Prettier](https://prettier.io/)
- [Eslint](https://eslint.org/)
- [Jasmine](https://jasmine.github.io/)
- [use Jasmine spec reporter with typescript](https://github.com/bcaudan/jasmine-spec-reporter/tree/673e22cd3b13732b421a25e862dbe887692ed345/examples/typescript)

### Bonus resources

1. [Typescript, eslint, prettier](https://moduscreate.com/blog/lint-style-typescript/)
2. [How to use eslint with prettier](https://khalilstemmler.com/blogs/typescript/eslint-for-typescript/)
3. [Enforcing Coding Conventions with Husky Pre-commit Hooks](https://khalilstemmler.com/blogs/tooling/enforcing-husky-precommit-hooks/)
4. [How to use Prettier with ESLint and TypeScript in VSCode](https://khalilstemmler.com/blogs/tooling/prettier/)

*Note: husky version > 4 does not work.*

*["type:module" should not be used](https://stackoverflow.com/a/60998638/14247589)*