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

https://github.com/sjwall/prettier-plugin-cspell

Prettier CSpell plugin to make the order of properties nice.
https://github.com/sjwall/prettier-plugin-cspell

cspell prettier prettier-plugin

Last synced: 8 months ago
JSON representation

Prettier CSpell plugin to make the order of properties nice.

Awesome Lists containing this project

README

          

# prettier-plugin-cspell

[![npm version](https://badge.fury.io/js/prettier-plugin-cspell.svg)][npm]
[![npm downloads](https://img.shields.io/npm/dw/prettier-plugin-cspell?logo=npm&label=NPM%20downloads&cacheSeconds=3600)][npm]
[![GitHub license](https://img.shields.io/github/license/sjwall/prettier-plugin-cspell)][license]
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)][pr]

A [Prettier] plugin to sort the keys of a [CSpell] dictionary file.

Config sorting coming soon!

## Installation

```sh
npm i -D prettier prettier-plugin-cspell
```

Update prettier config

```diff
{
+ "plugins": [
+ "prettier-plugin-cspell"
+ ]
}
```

[prettier]: https://github.com/prettier/prettier
[cspell]: https://cspell.org/
[license]: https://github.com/sjwall/prettier-plugin-cspell/blob/main/LICENSE
[npm]: https://www.npmjs.com/package/prettier-plugin-cspell
[pr]: http://makeapullrequest.com