Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shisama/tslint-to-eslint-sample


https://github.com/shisama/tslint-to-eslint-sample

Last synced: about 9 hours ago
JSON representation

Awesome Lists containing this project

README

        

tslint-to-eslint-config sample
===

This is minimum sample for tslint-to-eslint-config.

## setup

```
npm ci
```

## scripts

### npm run convert

This runs `npx tslint-to-eslint-config --config .eslintrc.json --tslint ./tslint.json`.
This generates `.eslintrc.json` the original of which is `tslint.json`.

### npm run tslint
This runs `npx tslint index.ts`. Running tslint to lint `index.ts`.

### npm run eslint
This runs `npx eslint index.ts --config ./.eslintrc.json`. Running eslint to lint `index.ts`.