From 4aa64a880deab1926404825c22b539cffbffaa50 Mon Sep 17 00:00:00 2001
From: Kai Moschcau
Date: Thu, 2 Apr 2026 18:43:51 +0200
Subject: [PATCH] style: fix linting complaints
---
.markuplintrc.json | 3 +++
.stylelintignore | 6 ++++++
astro.config.mjs | 2 +-
eslint.config.mjs | 4 ++--
src/components/inline-svg.astro | 6 +-----
src/pages/index.astro | 2 +-
6 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/.markuplintrc.json b/.markuplintrc.json
index b617b26..5aeb45a 100644
--- a/.markuplintrc.json
+++ b/.markuplintrc.json
@@ -2,5 +2,8 @@
"extends": ["markuplint:recommended-static-html"],
"parser": {
".astro$": "@markuplint/astro-parser"
+ },
+ "rules": {
+ "use-list": false
}
}
diff --git a/.stylelintignore b/.stylelintignore
index 0f9e2bd..683c7aa 100644
--- a/.stylelintignore
+++ b/.stylelintignore
@@ -2,11 +2,17 @@
/dist/
+*.html
*.ico
+*.jpg
+*.js
*.json
*.md
*.mjs
+*.mts
*.png
*.svg
+*.ts
+*.vim
*.webp
*.yaml
diff --git a/astro.config.mjs b/astro.config.mjs
index c92da04..1231a01 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,6 +1,6 @@
// @ts-check
-import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
+import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
diff --git a/eslint.config.mjs b/eslint.config.mjs
index ba18f98..de13d47 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -1,12 +1,12 @@
import js from "@eslint/js";
import eslintPluginAstro from "eslint-plugin-astro";
+import jsxA11y from "eslint-plugin-jsx-a11y";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
import { defineConfig } from "eslint/config";
-import jsxA11y from "eslint-plugin-jsx-a11y";
export default defineConfig([
{
- ignores: ["./dist/"],
+ ignores: ["./dist/", "**/*.html"],
},
{
diff --git a/src/components/inline-svg.astro b/src/components/inline-svg.astro
index 139bc4a..1a240de 100644
--- a/src/components/inline-svg.astro
+++ b/src/components/inline-svg.astro
@@ -13,8 +13,4 @@ const {
} = Astro.props;
---
-
+
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 7e4f413..fe4a928 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -29,7 +29,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
Fachinformatiker für Anwendungsentwicklung
- Software Developer & Consultant @ blecon
+ Software Developer & Consultant @ blecon