# tslint-init

> Create ts lint file in the current directory

Latest version **1.0.1** (published 2020-12-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install tslint-init
pnpm add tslint-init
yarn add tslint-init
bun add tslint-init
```

Provides the command `tslint-init`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-12-06 |
| First published | 2020-12-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | udosajh |
| Maintainers | udaydosajh |
| Keywords | tslint default file, tslint init, tslint config |

## Links

- npm: https://www.npmjs.com/package/tslint-init
- Repository: https://github.com/udosajh/tslint-init
- Homepage: https://github.com/udosajh/tslint-init#readme
- Issues: https://github.com/udosajh/tslint-init/issues
- npm.io page: https://npm.io/package/tslint-init

## Dependencies (3)

- [yargs](https://npm.io/package/yargs.md) ^16.1.1
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.4
- [js-beautify](https://npm.io/package/js-beautify.md) ^1.13.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-12-06

## README

# tslint-init
tslint-init

- run below command in terminal
    - npx tslint-init
    - this will create tslint.json file and add lint command in package.json
    - it also changes package json file indentation to 4 spaces
    - npx is available in npm version >= 5.2.0
        - npm below 5.2.0 can install npx using below command
            - npm i npx
    - npx tslint-init -n help
    - npx tslint-init -n -l -i 2 -t tsconfig.src.json
    - -n => pass args to script (npx flag)
    - -l => adds lint command in terminal tslint -c tslint.json -p <tsconfigFileName> (default => true)
    - -t => tsconfig file name (default => tsconfig.json)
    - i => indentation spaces (default => 4)
    - --help => to get info about flags (-l, -t, -i)

---
_Source: https://npm.io/package/tslint-init · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
