@eclipse-glsp/prettier-config
Version:
Shared Prettier configuration for GLSP projects
32 lines (21 loc) • 835 B
Markdown
# Eclipse GLSP - Shared Prettier configuration
Common shared configuration for Eclipse GLSP components that use Prettier for code formatting.
## Install
```bash
yarn add --dev @eclipse-glsp/prettier-config
```
## Usage
**Add to the `package.json`**:
```json
{
// ...
"prettier": "@eclipse-glsp/prettier-config"
}
```
**Or add a `.prettierrc` to the workspace root**:
```json
"@eclipse-glsp/prettier-config"
```
## More information
For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
If you have questions, please raise them in the [discussions](https://github.com/eclipse-glsp/glsp/discussions) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).