feat: add lint command
All checks were successful
test-build / guarddog (push) Successful in 43s
test-build / build (push) Successful in 45s
release-image / build (push) Successful in 51s
release-image / guarddog (push) Successful in 1m8s
release-image / semantic-release (push) Successful in 53s
release-image / release-harbor (push) Successful in 1m27s
release-image / release-gitea (push) Successful in 1m50s

This commit was merged in pull request #3.
This commit is contained in:
2026-04-09 21:03:44 -05:00
parent c008214f82
commit c4428cf94c
2 changed files with 16 additions and 3 deletions

11
eslint.config.mjs Normal file
View File

@@ -0,0 +1,11 @@
import eslintPluginAstro from 'eslint-plugin-astro';
import eslintConfigPrettier from "eslint-config-prettier/flat";
export default [
...eslintPluginAstro.configs.recommended,
eslintConfigPrettier,
{
rules: {
}
}
];

View File

@@ -1,12 +1,14 @@
{
"name": "milky-way",
"name": "site-saralebens",
"type": "module",
"version": "1.0.0",
"version": "0.1.0",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx,astro}\"",
"lint": "eslint \"src/**/*.{js,ts,jsx,tsx,astro}\"",
"lint:fix": "eslint --fix \"src/**/*.{js,ts,jsx,tsx,astro}\"",
"astro": "astro"
},
"dependencies": {