Metadata-Version: 2.4
Name: su6-plugin-prettier
Version: 0.1.1
Summary: `prettier.io` plugin for `su6`
Project-URL: Documentation, https://github.com/robinvandernoord/su6-plugin-prettier#readme
Project-URL: Issues, https://github.com/robinvandernoord/su6-plugin-prettier/issues
Project-URL: Source, https://github.com/robinvandernoord/su6-plugin-prettier
Author-email: Robin van der Noord <robinvandernoord@gmail.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.10
Requires-Dist: su6>=1.10.0
Provides-Extra: dev
Requires-Dist: hatch; extra == 'dev'
Requires-Dist: su6[all]; extra == 'dev'
Description-Content-Type: text/markdown

# su6-plugin-prettier

Plugin for [su6](https://github.com/trialandsuccess/su6) that adds `prettier.io` functionality.

## Installation
```bash
pip install su6-plugin-prettier
# or
pip install su6[prettier]
```

## Usage

```bash
# optionally, if prettier isn't installed yet:
su6 install-prettier

su6 prettier # to check
su6 prettier --fix # to change files
```

### pyproject.toml
(all keys are optional, and also usable as flags to `prettier` (e.g. `--target ./path/to/files`))
```toml
[tool.su6.prettier]
target = "./path/to/js/files"
node_modules = "path/to/node_modules"
```

## License

`su6-plugin-prettier` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
