TutorialsCourses
Yup Date Validation with Custom Transform
Jason Brown

In this lesson we'll examine how yup validations are setup. Also we'll show some of the builtin helpers like email, required, and min/max for dates. Then using date-fns we'll setup a custom transform so our validation system can handle different formatted dates.

JavaScript
Use Yarn to Create an Alternative Import Name of an Installed Library
Jason Brown

In this lesson we'll show how to use yarn to alias the names of same npm libraries but install different versions. This could allow for easy migrating from one library version to an upgraded version.

JavaScript
Convert CommonJS Requires to ES6 Imports
Jason Brown

In this lesson we'll use cjs-to-es6 to convert CommonJS requires to ES6 imports. We'll also show how to convert over a exported default object to take advantage of named exports.

JavaScript
Fix Only Committed Files with Prettier and lint-staged
Jason Brown

In this lesson we'll use prettier and lint-staged to run prettier only on files that have been changed and committed to git. This will allow you to prettify files as you change them, and prevent massive lint only git check ins.

JavaScript
Create a VSCode Snippet with Tab Stops and Named Variables
Jason Brown

In this lesson we'll create a VSCode snippet for quickly reusing code. We'll show how to setup tab stops orders to move the cursor in a specific order when tab is pressed. Then we'll show how to create named variables with default values.

JavaScript
Use licensee.js to Check Dependencies for Accepted Library Licenses
Jason Brown

In this lesson we'll use licensee.js to see how to configure accepted license types for our project. We'll also explore how to use whitelist overrides to allow specific libraries that may not match our license configuration. We'll also setup an npm script to show a more visible exit code 1 failure.

JavaScript
« Previous
1 of 1
Home