Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prettier-plugin-apex

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettier-plugin-apex - npm Package Compare versions

Comparing version 1.0.0-rc.3 to 1.0.0-rc.4

4

CHANGELOG.md
## Unreleased
## 1.0.0-rc.4
- Add support for AnnotationString ([issue](https://github.com/dangmai/prettier-plugin-apex/issues/80)).
## 1.0.0-rc.3

@@ -4,0 +8,0 @@

2

package.json
{
"name": "prettier-plugin-apex",
"version": "1.0.0-rc.3",
"version": "1.0.0-rc.4",
"description": "Salesforce Apex plugin for Prettier",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -118,13 +118,10 @@ # Prettier Apex [![Build Status](https://travis-ci.org/dangmai/prettier-plugin-apex.svg)](https://travis-ci.org/dangmai/prettier-plugin-apex) [![npm](https://img.shields.io/npm/v/prettier-plugin-apex.svg)](https://www.npmjs.com/package/prettier-plugin-apex) ![NPM](https://img.shields.io/npm/l/prettier-plugin-apex.svg) [![codecov](https://codecov.io/gh/dangmai/prettier-plugin-apex/branch/master/graph/badge.svg)](https://codecov.io/gh/dangmai/prettier-plugin-apex) [![Join the chat at https://gitter.im/prettier-plugin-apex/community](https://badges.gitter.im/prettier-plugin-apex/community.svg)](https://gitter.im/prettier-plugin-apex/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

```json
{
"tabWidth": 2,
"printWidth": 80,
"useTabs": false
}
```
| Name | Default | Description |
| --------------- | ------- | -------------------------------------------------------------------------------------------------- |
| `printWidth` | `80` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#print-width)) |
| `tabWidth` | `2` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tab-width)) |
| `useTabs` | `false` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#tabs)) |
| `requirePragma` | `false` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#require-pragma)) |
| `insertPragma` | `false` | Same as in Prettier ([see prettier docs](https://prettier.io/docs/en/options.html#insert-pragma)) |
Which means that by default, the formatted code will use 2 spaces for indentation,
and will try to format every line to contain under 80 characters.
## Editor integration

@@ -131,0 +128,0 @@

@@ -14,2 +14,4 @@ const constants = {

ANNOTATION_VALUE: "apex.jorje.data.ast.AnnotationValue",
ANNOTATION_STRING:
"apex.jorje.data.ast.AnnotationParameter$AnnotationString",
MODIFIER_PARAMETER_REF:

@@ -16,0 +18,0 @@ "apex.jorje.data.ast.ParameterRefs$ModifierParameterRef",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc