From 2439dfa78d8970adc8f5996e77c4686458ed53a1 Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Mon, 3 Jun 2024 00:23:19 +0200 Subject: [PATCH] Added: biome for formatting, Makefile --- Makefile | 10 ++++++++++ biome.json | 15 +++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Makefile create mode 100644 biome.json diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0674195 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +all: clean format build + +format: + biome format --write . + +build: + zola build + +clean: + rm -rf public/ diff --git a/biome.json b/biome.json new file mode 100644 index 0000000..a15a026 --- /dev/null +++ b/biome.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", + "files": { + "ignore": [".vscode/", "node_modules/", "public/"] + }, + "organizeImports": { + "enabled": true + }, + "linter": { + "enabled": false, + "rules": { + "recommended": true + } + } +}