Skip to content

Instantly share code, notes, and snippets.

View ConnectExtend's full-sized avatar
🎯
Focusing

ConnectExtend

🎯
Focusing
View GitHub Profile
/**
* Takes a google maps api key and
* a json props object to generate
* a valid URL to a static map image.
* 
* @returns a valid URL to static map image
*/
function getStaticMap(key, props) {
 const markers = (props.markers || []).map(marker => 

Installing ESLint for Gulp

  • If you have the Prettier VSCode plugin, uninstall or disable it via the extensions menu on the side bar

  • Install the required node modules via these commands:

    • npm install eslint-config-prettier
    • npm install eslint-plugin-prettier
    • npm install gulp-eslint
    • npm install prettier-eslint