0.3.0 • Published 10 months ago

prettier-plugin-sf-xml v0.3.0

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

prettier-plugin-sf-xml is a prettier plugin for Salesforce Metadata XML.

This plugin uses a modified version of the swagup-com/sf-xml-formatter xml file sorting algorithm with new features to adapt to the original Salesforce files such as 4-space tabulation and respecting the tag order.

Getting started

To run prettier with the Salesforce Metadata XML plugin, you're going to need node.

If you're using the npm CLI, then add the plugin by:

npm install --save-dev prettier prettier-plugin-sf-xml

Or if you're using yarn, then add the plugin by:

yarn add --dev prettier prettier-plugin-sf-xml

The prettier executable is now installed and ready for use:

./node_modules/.bin/prettier --write '**/*.xml'
0.3.0

10 months ago

0.2.0

1 year ago

0.1.0

1 year ago

1.1.0

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago