Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/comandeer/formatter

A simple JS/TS formatter
https://github.com/comandeer/formatter

Last synced: 24 days ago
JSON representation

A simple JS/TS formatter

Awesome Lists containing this project

README

        

# @comandeer/formatter

[![Build Status](https://github.com/Comandeer/formatter/workflows/CI/badge.svg)](https://github.com/Comandeer/formatter/actions) [![codecov](https://codecov.io/gh/Comandeer/formatter/branch/main/graph/badge.svg)](https://codecov.io/gh/Comandeer/formatter) [![npm (scoped)](https://img.shields.io/npm/v/@comandeer/formatter.svg)](https://npmjs.com/package/@comandeer/formatter)

Super opinionated JS/TS formatter using [Babel](https://babeljs.io/).

## Installation

```bash
npm install @comandeer/formatter --save-dev
```

## Usage

Just make it a npm script:

```json
"scripts": {
"format": "cfmt"
}
```

## Configuration

No configuration. If you don't want to format your code like Comandeer, it's not a package for you.

## License

See [LICENSE](./LICENSE) file for details.