Skip to content

Commit

Permalink
fix: formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Eveeifyeve committed Apr 12, 2024
1 parent b05539c commit da14ad9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"rules": {
"recommended": true
},
"ignore": ["./.astro/*"]
"ignore": ["./.astro/*", ".pre-commit-config.yaml"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentWidth": 2,
"lineWidth": 80,
"ignore": ["./.astro/*"]
"ignore": ["./.astro/*", ".pre-commit-config.yaml"]
},
"css": {
"formatter": {
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
env = { };

# https://devenv.sh/reference/options/
packages = with pkgs; [ ] ++ nodejs-packages;
packages = with pkgs; [ biome ] ++ nodejs-packages;

# https://devenv.sh/scripts/
# scripts.hello.exec = "";
Expand Down Expand Up @@ -73,6 +73,7 @@
nixfmt.package = pkgs.nixfmt-rfc-style;
nixfmt.enable = true;
rome.enable = true;
rome.package = pkgs.biome;
};

# https://devenv.sh/integrations/dotenv/
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/documents.astro
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
import { twMerge } from "tailwind-merge";
import Footer from "@component/footer.astro";
// Components
import Head from "@component/head.astro";
import Header from "@component/header.astro";
import { twMerge } from "tailwind-merge";
// Styles
import "../styles/style.css";
Expand Down
8 changes: 4 additions & 4 deletions src/layouts/newspost.astro
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
import { twMerge } from "tailwind-merge";
import { Image } from "astro:assets";
import DiscordSVG from "@assets/svgs/Discord.svg";
import GithubSVG from "@assets/svgs/Github-white.svg";
import Footer from "@component/footer.astro";
import Head from "@component/head.astro";
import Header from "@component/header.astro";
import DiscordSVG from "@assets/svgs/Discord.svg";
import GithubSVG from "@assets/svgs/Github-white.svg";
import { Image } from "astro:assets";
import { twMerge } from "tailwind-merge";
// Styles
import "../styles/style.css";
Expand Down

0 comments on commit da14ad9

Please sign in to comment.