Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robinvandernoord/su6-plugin-prettier
Plugin for su6 that adds prettier.io functionality.
https://github.com/robinvandernoord/su6-plugin-prettier
js npm prettier python su6
Last synced: about 2 months ago
JSON representation
Plugin for su6 that adds prettier.io functionality.
- Host: GitHub
- URL: https://github.com/robinvandernoord/su6-plugin-prettier
- Owner: robinvandernoord
- License: mit
- Created: 2023-07-17T15:34:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-17T17:10:17.000Z (over 1 year ago)
- Last Synced: 2024-11-08T18:04:04.868Z (2 months ago)
- Topics: js, npm, prettier, python, su6
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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-prettiersu6 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.