More cleanup

This commit is contained in:
Mark 2025-01-16 14:57:02 -08:00
parent 872f5471a5
commit d39da9af71
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
4 changed files with 25 additions and 3 deletions

View File

@ -1,3 +1,9 @@
{
"extends": "next/core-web-vitals"
"extends": ["next/core-web-vitals", "next/typescript"],
"rules": {
"no-mixed-spaces-and-tabs": "off",
"no-restricted-syntax": ["error", "WithStatement"],
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-empty-function": "error"
}
}

7
.prettierrc.toml Normal file
View File

@ -0,0 +1,7 @@
trailingComma = "all"
semi = true
singleQuote = false
bracketSpacing = true
bracketSameLine = false
arrowParens = "always"

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2021 Nilay Majorwar
Copyright (c) 2024 mark@betalupi.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -0,0 +1,9 @@
#!/bin/bash
SOURCE="$1"
inkscape -w 16 -h 16 -o 16.png "$SOURCE"
inkscape -w 32 -h 32 -o 32.png "$SOURCE"
inkscape -w 64 -h 128 -o 64.png "$SOURCE"
inkscape -w 128 -h 128 -o 128.png "$SOURCE"
magick 16.png 32.png 64.png 128.png favicon.ico