prettier-plugin-apex
Advanced tools
Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7
@@ -0,1 +1,8 @@ | ||
## Unreleased | ||
## 1.0.0-alpha.7 | ||
- Fix Annotated Declaration being indented too far ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/18)). | ||
- Getter and setter will no longer break if they can fit on the same line. | ||
- Add documentation for configuration options. | ||
## 1.0.0-alpha.6 | ||
@@ -2,0 +9,0 @@ - Fix formatting for trailing comments at the end of block statements ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/12)). |
{ | ||
"name": "prettier-plugin-apex", | ||
"version": "1.0.0-alpha.6", | ||
"version": "1.0.0-alpha.7", | ||
"description": "Salesforce Apex plugin for Prettier", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -60,2 +60,18 @@ # Prettier Apex [![Build Status](https://travis-ci.org/dangmai/prettier-plugin-apex.svg)](https://travis-ci.org/dangmai/prettier-plugin-apex) | ||
### Configuration | ||
This library follows the same configuration format as Prettier, | ||
which is documented [here](https://prettier.io/docs/en/configuration.html). | ||
The amount of configuration is very limited, | ||
because this is intended to be a very opinionated formatter. | ||
Here is the default configuration that can be overriden: | ||
```json | ||
{ | ||
"tabWidth": 2, | ||
"printWidth": 80 | ||
} | ||
``` | ||
## Performance Tips/3rd party integration | ||
@@ -62,0 +78,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11732709
3271
109