Skip to content

Instantly share code, notes, and snippets.

View baturax's full-sized avatar
🤒
Out sick

Batu baturax

🤒
Out sick
View GitHub Profile
@baturax
baturax / biome.json
Last active June 24, 2026 17:16
biome.json with all options enabled
{
"$schema": "https://biomejs.dev/schemas/2.5.1/schema.json",
"assist": {
"actions": {
"source": {
"noDuplicateClasses": "on",
"organizeImports": "on",
"useSortedAttributes": "on",
"useSortedEnumMembers": "on",
"useSortedInterfaceMembers": "on",
@baturax
baturax / .golangci.toml
Last active September 18, 2026 10:58
golangci
#:schema https://golangci-lint.run/jsonschema/golangci.jsonschema.json
version = "2"
[linters]
default = "none"
enable = ["asasalint", "asciicheck", "bidichk", "bodyclose", "canonicalheader", "containedctx", "copyloopvar", "cyclop", "decorder", "depguard", "dogsled", "dupl", "dupword", "durationcheck", "embeddedstructfieldcheck", "err113", "errcheck", "errchkjson", "errname", "errorlint", "exhaustive", "exptostd", "fatcontext", "forbidigo", "forcetypeassert", "funcorder", "funlen", "gocheckcompilerdirectives", "gochecknoglobals", "gochecknoinits", "gochecksumtype", "gocognit", "goconst", "gocritic", "gocyclo", "godoclint", "godot", "godox", "goheader", "gomoddirectives", "gomodguard_v2", "goprintffuncname", "gosec", "gosmopolitan", "govet", "grouper", "iface", "importas", "inamedparam", "ineffassign", "interfacebloat", "intrange", "iotamixing", "ireturn", "lll", "loggercheck", "maintidx", "makezero", "mirror", "misspell", "modernize", "musttag", "nakedret", "nestif", "nilerr", "nilnesserr", "nilnil", "nlret
@baturax
baturax / go.json
Created June 13, 2026 18:58
zed snippets for golang
{
"Create function": {
"prefix": "func",
"body": ["func ${1}(${2}) (${3}) {\n\t${0}\n}"],
"description": "Creates a function"
},
"Create method": {
"prefix": "meth",
"body": ["func (${1}) ${2}(${3}) (${4}) {\n\t${0}\n}"],
"description": "Creates a method"
{
"$schema": "https://raw.githubusercontent.com/sql-formatter-org/sql-formatter/refs/heads/master/schema.json",
"dataTypeCase": "upper",
"denseOperators": false,
"expressionWidth": 50,
"functionCase": "lower",
"identifierCase": "lower",
"keywordCase": "upper",
"language": "postgresql",
"linesBetweenQueries": 1,