Skip to content

Instantly share code, notes, and snippets.

install:
# Install the latest release of Vale (installed to /bin):
- curl -sL https://install.goreleaser.com/github.com/ValeLint/vale.sh | bash
# Install the latest releases of our third-party styles:
- bash ci/scripts/get-styles.sh
script:
# Run Vale:
- ./bin/vale docs
@jdkato
jdkato / .vale.ini
Last active July 20, 2019 05:08
Example Vale config
StylesPath = path/to/some/directory
MinAlertLevel = suggestion
[*.md]
BasedOnStyles = Microsoft, <your-org>
# Disabled in favor of MyOrganization.Headings, which has an
# exception's list tailored to MyOrganization's content.
Microsoft.Headings = NO
extends: spelling
message: "Did you really mean '%s'?"
level: error
ignore: vocab.txt
get_style () {
echo "Installing $2 from $1 ..."
curl -s https://api.github.com/repos/$1/$2/releases/latest \
| grep "browser_download_url.*zip" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
unzip $2.zip -d styles && rm -rf $2.zip
}
var HW_config = {
selector: 'a.menu__link.changelog-selector',
account: '7kZ2Px',
}
@jdkato
jdkato / PaddleSetup.cpp
Created June 24, 2019 17:33 — forked from adamski/PaddleSetup.cpp
Cross-platform C++ wrapper for the Paddle licensing SDK
/*
==============================================================================
PaddleSetup.cpp
Created: 23 Sep 2017 9:15:20pm
Author: Adam Wilson
==============================================================================
*/
$(document).ready(function(){
$(".owl-carousel").owlCarousel();
});
StylesPath = my-project/vale/styles
MinAlertLevel = warning
[*.{md,txt}]
BasedOnStyles = Microsoft, write-good
write-good.E-Prime = NO
write-good.Passive = NO
Microsoft.Headings = error
extends: existence
message: Avoid using phrases like '%s'.
ignorecase: true
level: error
tokens:
- and so on
- and/or
- app developer
- application developer
- application program

This is a Markdown file

Let's use an alert:

Here's *some* Markdown content.

Now, let's make a paragraph: