Chris PerryGlobally disable eslint “import/no-anonymous-default-export” on vscodeAllow me to introduce you to the coolest default override in the world: anonymous default exports.Oct 13, 2022Oct 13, 2022
Chris Perryzsh: Add the name of current git branch to any commandHere’s how to grab the name of your local git branch for reference in other commands, particularly aliases.Mar 17, 2022Mar 17, 2022
Chris Perryzsh: Make directory and cd into it with one-linerHere’s a handy zsh alias to make a new directory and cd into it with a single command from the command line.Jul 3, 20211Jul 3, 20211
Chris PerryAdd a .gitignore with ‘node_modules’ when running `npm install`If you do any amount of coding in JavaScript, you’ve likely encountered the following Annoyance Workflow™:Jun 13, 2021Jun 13, 2021
Chris PerryVSCode: Automatically add filename to ‘export default’Here’s how to create a code snippet that outputs export default followed by the base name of the file.Dec 2, 2020Dec 2, 2020
Chris PerryMocking a new endpoint using Auth0 & MirageJS in your React AppI recently learned MirageJS as a way to mock the endpoint for a new frontend feature I’m building at work.Nov 12, 2020Nov 12, 2020
Chris PerryHow to add semantic-ui’s themes to Semantic-UI-ReactBy default, Semantic-UI-React installs a vanilla build of Semantic-UI, without a themes folder or any of the default themes (Material…Nov 7, 20202Nov 7, 20202