Files
portfolio/eslint.config.mjs
Lucas b7025b5fa8
Some checks failed
Portfolio/pipeline/head There was a failure building this commit
feat(ci): add automated Lighthouse audit pipeline
2026-01-12 19:04:44 +01:00

24 lines
555 B
JavaScript

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/*"]
}
];