Skip to content

Commit eaaf7f6

Browse files
committed
Fixed lint, added badges
1 parent f43c1c9 commit eaaf7f6

36 files changed

+197
-274
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# hello-astro
22

3+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4+
[![Language: Typescript](https://img.shields.io/badge/language-TypeScript-blue.svg?style=flat-square)](https://www.typescriptlang.org)
5+
[![Framework: Astro](https://img.shields.io/badge/framework-Astro-BC52EE?logo=astro&logoColor=fff?style=flat-square)](https://astro.build)
6+
[![CSS: TailwindCSS](https://img.shields.io/badge/css-TailwindCSS-%2338B2AC.svg?logo=tailwind-css&logoColor=white?style=flat-square)](https://tailwindcss.com)
7+
[![Github Pages Astro CI](https://github.com/hellotham/hello-astro/actions/workflows/deploy.yml/badge.svg)](https://github.com/hellotham/hello-astro/actions/workflows/deploy.yml)
8+
39
Hello Astro is a full featured [Astro](https://astro.build) multi-purpose starter theme written in Typescript and TailwindCSS. It supports Markdown and MDX based pages and blog posts.
410

511
![Light](https://github.com/hellotham/hello-astro/raw/main/screenshot-light.png)

eslint.config.mjs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import eslintPluginAstro from 'eslint-plugin-astro'
22
import markdown from '@eslint/markdown'
3-
import unocss from '@unocss/eslint-config/flat'
3+
// import unocss from '@unocss/eslint-config/flat'
44

55
export default [
66
...eslintPluginAstro.configs['flat/recommended'],
@@ -14,6 +14,5 @@ export default [
1414
rules: {
1515
'markdown/no-html': 'error'
1616
}
17-
},
18-
unocss
17+
}
1918
]

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"eslint-plugin-astro": "^1.3.1",
3434
"eslint-plugin-css": "^0.11.0",
3535
"eslint-plugin-jsx-a11y": "^6.10.2",
36-
"eslint-plugin-markdown": "^5.1.0",
3736
"exifr": "^7.1.3",
3837
"mdast-util-to-string": "^4.0.0",
3938
"prettier": "^3.5.1",
@@ -52,9 +51,10 @@
5251
"@astrojs/check": "^0.9.4",
5352
"@astrojs/markdoc": "^0.12.9",
5453
"@astrojs/rss": "^4.0.11",
54+
"@eslint/markdown": "^6.2.2",
5555
"@iconify-json/bi": "^1.2.2",
5656
"@iconify-json/heroicons": "^1.2.2",
57-
"@tailwindcss/vite": "^4.0.6",
57+
"@tailwindcss/vite": "^4.0.7",
5858
"astro-expressive-code": "^0.40.2",
5959
"astro-geo-map": "^2.0.0",
6060
"astro-icon": "^1.1.5",
@@ -69,7 +69,7 @@
6969
"playwright": "^1.50.1",
7070
"rehype-mermaid": "^3.0.0",
7171
"swiper": "^11.2.4",
72-
"tailwindcss": "^4.0.6"
72+
"tailwindcss": "^4.0.7"
7373
},
7474
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
7575
}

0 commit comments

Comments
 (0)