Fix for new Esling requirements
All checks were successful
Portfolio/pipeline/head This commit looks good

This commit is contained in:
2026-01-09 14:17:59 +01:00
parent 545ecb8fa8
commit 24565f9f5d
3 changed files with 25 additions and 22 deletions

24
eslint.config.mjs Normal file
View File

@@ -0,0 +1,24 @@
import eslintPluginAstro from 'eslint-plugin-astro';
import tsParser from '@typescript-eslint/parser';
export default [
// Configuration pour les fichiers Astro
...eslintPluginAstro.configs.recommended,
{
files: ["**/*.astro"],
languageOptions: {
parser: eslintPluginAstro.parser,
parserOptions: {
parser: tsParser,
extraFileExtensions: [".astro"],
},
},
rules: {
// Tes règles personnalisées ici
},
},
// On ignore le dossier de build
{
ignores: ["dist/*", ".astro/*"]
}
];