Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jakecobley's full-sized avatar

Jake Cobley jakecobley

View GitHub Profile
@jakecobley
jakecobley / .eslintignore
Created November 14, 2020 23:37
ESLint configuration extending Airbnb's configuration.
################################################################################
# Node
################################################################################
node_modules
################################################################################
# Compiled Directories & Files
################################################################################
@jakecobley
jakecobley / .dockerignore
Last active November 14, 2020 23:27
VueJS/ReactJS/JavaScript Single Page Application (SPA) NGINX Dockerfile
################################################################################
# Docker
################################################################################
.dockerignore
docker-compose*
Dockerfile*
################################################################################
# Git
@jakecobley
jakecobley / css-utilities.js
Last active September 18, 2020 13:02
PostCSS configuration.
module.exports = {
/**
* Convert pixel values to rem values.
*
* @param {number} pixelValue
*
* @returns {string}
*/
px2rem: (pixelValue) => {
const remValue = pixelValue / 16;
@jakecobley
jakecobley / .stylelintignore
Last active September 13, 2022 00:00
Stylelint configuration extending the standard configuration (targeting CSS and Vue files).
################################################################################
# Node
################################################################################
node_modules
################################################################################
# Compiled Directories & Files
################################################################################
@jakecobley
jakecobley / .dockerignore
Created June 13, 2020 01:02
WordPress development environment using Docker & Docker Compose.
################################################################################
# Docker
################################################################################
.dockerignore
docker-compose*
Dockerfile*
################################################################################
# Git
@jakecobley
jakecobley / .gitignore
Created June 13, 2020 00:58
gitignore configuration for WordPress sites.
################################################################################
# WordPress
################################################################################
!wp-content
wp-content/*
!wp-content/mu-plugins
wp-content/mu-plugins/*
!wp-content/mu-plugins/.keep
@jakecobley
jakecobley / .devcontainer.json
Last active June 16, 2022 01:17
VueJS/ReactJS/JavaScript Single Page Application (SPA) development environment using Docker, Docker Compose, Visual Studio Code's 'Remote Containers' extension, and NGINX.
{
"name": "vs-code-remote-containers_workspace",
"dockerComposeFile": "../docker-compose.yml",
"service": "workspace",
"workspaceFolder": "/workspace",
// Extensions
// Add the IDs of extensions to be installed within Visual Studio Code when
// the container is created.
"extensions": [
@jakecobley
jakecobley / .gitignore
Last active November 14, 2020 23:17
gitignore configuration for VueJS applications.
################################################################################
# Node
################################################################################
node_modules
################################################################################
# Environment Variables
################################################################################
@jakecobley
jakecobley / .eslintignore
Last active April 4, 2023 08:50
ESLint configuration extending Airbnb's and VueJS's configurations (targeting JavaScript and VueJS files).
################################################################################
# Node
################################################################################
node_modules
################################################################################
# Compiled Directories & Files
################################################################################
@jakecobley
jakecobley / .browserslistrc
Last active April 29, 2020 16:13
Browserslist configuration explicitly targeting modern browsers.
last 2 ChromeAndroid versions
last 2 Chrome versions
last 2 iOS versions
last 2 Safari versions
last 2 Samsung versions
last 2 FirefoxAndroid versions
last 2 Firefox versions