Skip to content

Instantly share code, notes, and snippets.

View lewishowles's full-sized avatar

Lewis Howles lewishowles

View GitHub Profile
@lewishowles
lewishowles / css.jsonc
Last active September 11, 2024 12:52
Visual Studio Code snippets
{
"Dark mode": {
"prefix": "dark",
"body": [
"&:where(.dark, .dark *)",
],
},
"Media query - sm": {
"prefix": "mqs",
@lewishowles
lewishowles / .zshrc
Last active September 11, 2024 12:12
zshrc configuration, for micro-efficiencies and less mental load
# Settings for ZSH and Oh My ZSH
if [ -f ~/.zsh-settings/oh-my-zsh-settings.zsh ]; then
source ~/.zsh-settings/oh-my-zsh-settings.zsh
fi
# Settings for nvm
if [ -f ~/.zsh-settings/nvm-settings.zsh ]; then
source ~/.zsh-settings/nvm-settings.zsh
fi
@lewishowles
lewishowles / 01 eslint.config.js
Last active August 25, 2024 17:56
Preferred eslint configuration for Javascript, Vue, and Cypress
import cypress from "./config/eslint/cypress.js";
import globals from "globals";
import pluginJs from "@eslint/js";
import stylistic from "./config/eslint/stylistic.js";
import tailwind from "./config/eslint/tailwind.js";
import vue from "./config/eslint/vue.js";
export default [
{
ignores: ["**/dist/*"],