Be careful trying to placate the ESlint machine. Global functions and global constructor methods of the same name are not guaranteed to produce the same result.
Author Archives: Luke Scott
Top Takeaways From Serverless Days 2019
My top takeaways from Serverless Days Sydney 2019.
Ways to Annotate JSON files (e.g. package.json)
Unfortunatley you cannot write comments in JSON files. Here are a couple of workarounds for commenting in JSON files.
Quick Ways to Create a Local Static Dev HTTP Server
Want to quickly spin up a web server to serve some static content? Here is a few ways to do it in a single line.
iTerm2 Profiles and Git Keys
Need to use different public/private key pairs for different environments? You can use iTerm2’s profiles with environment variable GIT_SSH_COMMAND to make handling multiple keys easier.
Netlify Dev – Deploying Functions
Trying to deploy functions using Netlify Dev? Here is a guide to get started and deploy a function in Netlify Dev in minutes.
npm Missing Script Error
How to fix the all too common npm “missing script” error.
BASH Unofficial Strict Mode
BASH Unofficial Strict Mode can save you from common pitfalls.