1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Format helpers.js (#205)

* Format helpers.js with prettier

* Adding docs on how to run prettier
This commit is contained in:
Manatsawin Hanmongkolchai
2017-09-16 00:12:09 +07:00
committed by Craig Peterson
parent 7c015bd56c
commit 4bffc37d15
5 changed files with 274 additions and 247 deletions

View File

@@ -60,7 +60,12 @@ is the Javascript file that defines `dnsconfig.js`'s functions like
`A()` and `MX()`. Look at the definition of A, MX and CAA for good
examples to use as a base.
Please add the function alphabetically with the others.
Please add the function alphabetically with the others. Also, please run
[prettier](https://github.com/prettier/prettier) on the file to ensure
your code conforms to our coding standard:
npm install prettier
node_modules/.bin/prettier --write pkg/js/helpers.js
## Step 3: Search for `#rtype_variations`