# gulp-typescript-formatter

> Gulp plugin for the Typescript Formatter

Latest version **0.1.3** (published 2016-09-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-typescript-formatter
pnpm add gulp-typescript-formatter
yarn add gulp-typescript-formatter
bun add gulp-typescript-formatter
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2016-09-23 |
| First published | 2016-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Pierre-Luc Gregoire |
| Maintainers | plgregoire81 |
| Keywords | gulp, typescript, formatter, plugin, ts, gulpplugin, gulpfriendly, typescript-formatter |

## Links

- npm: https://www.npmjs.com/package/gulp-typescript-formatter
- Repository: https://github.com/plgregoire/gulp-typescript-formatter
- Homepage: https://github.com/plgregoire/gulp-typescript-formatter#readme
- Issues: https://github.com/plgregoire/gulp-typescript-formatter/issues
- npm.io page: https://npm.io/package/gulp-typescript-formatter

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) ^2.0.0
- [gulp-util](https://npm.io/package/gulp-util.md) ~3.0.4

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2016-09-23
- 0.1.2 — 2016-09-23
- 0.1.1 — 2016-06-21
- 0.0.2 — 2016-06-21

## README

## gulp-typescript-formatter

[Gulp](http://gulpjs.com/) wrapper/plugin for [typescript-formatter](https://www.npmjs.com/package/typescript-formatter) to format TypeScript files with Gulp.

### Installation

```
npm install --save-dev gulp-typescript-formatter
```

### Usage

```
var typescriptFormatter = require('gulp-typescript-formatter');

gulp.task('format', function () {
    return gulp.src('**/*.ts')
        .pipe(typescriptFormatter({
            // see RootOptions interface for available options: https://github.com/vvakame/typescript-formatter/blob/master/lib/cli.ts#L25-L35
            baseDir: '.',
			tslint: true, // use tslint.json file?
			tsfmt: true, // use tsfmt.json file? Overrides settings in tslint.json (at least indentSize)
			editorconfig: true, // use .editorconfig file? Overrides tsfmt settings (at least indentSize)
        })
        .pipe(gulp.dest('.'));
}
```

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