GitHub GraphQL API
let username = `xgqfrms-GitHub`;
repo = `Node-CLI-Tools/commits`;
http://eslint.org/docs/developer-guide/working-with-custom-formatters#the-message-object
{
"parserOptions": {
"ecmaVersion": 6,
https://marketplace.visualstudio.com/items?itemName=TimonVS.ReactSnippetsStandard
Snippets
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB key.
const promise = new Promise( | |
(resolve, reject) => { | |
// do a thing, possibly async, then… | |
if (/* everything turned out fine */) { | |
resolve("Stuff worked!"); | |
} | |
else { | |
reject(Error("It broke")); | |
} | |
} |