Skip to content

Instantly share code, notes, and snippets.

View ManoloTonto1's full-sized avatar
🏠
Working from home

Manuel Lopez ManoloTonto1

🏠
Working from home
View GitHub Profile
@ManoloTonto1
ManoloTonto1 / migrate.sh
Created September 23, 2023 15:55
MIgration helper script for migrating Next pages to React Server components.
#!/bin/bash
add_use_client_directive() {
local directory="$1"
if [ -z "$directory" ]; then
echo "Usage: $0 <directory>"
return 1
fi
@ManoloTonto1
ManoloTonto1 / tag_compatibility.yml
Created June 3, 2023 19:29
Automatic semantic release-tagging based on commit title and description.
name: Automatic Tagging Check
on:
pull_request:
branches: ["develop"]
jobs:
create_tag:
runs-on: ubuntu-latest
@ManoloTonto1
ManoloTonto1 / .eslintrc.cjs
Created March 28, 2023 19:12
Vue3 + TS eslint template
// My prefered settings are like this. Just remember to change the parser to the vue-eslint-parser for eslint to be able to work.
module.exports = {
'env': {
'browser': true,
'es2021': true
},
'extends': [
'eslint:recommended',
'plugin:vue/vue3-essential',
'plugin:@typescript-eslint/recommended'