From d32cb551e6682e3dd85dc5944e07834d16f60dfa Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Tue, 18 Jul 2023 14:43:26 +0200 Subject: [PATCH] HTML attributes must not be duplicated --- .eslintrc.json | 4 +++- .../app/front-office/components/projet/projet.component.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 2bc8056c..d7df7af6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -67,7 +67,9 @@ { "files": ["*.html"], "extends": ["plugin:@angular-eslint/template/recommended"], - "rules": {} + "rules": { + "@angular-eslint/template/no-duplicate-attributes": ["error"] + } } ] } diff --git a/client/app/front-office/components/projet/projet.component.html b/client/app/front-office/components/projet/projet.component.html index 67281707..44f99f87 100644 --- a/client/app/front-office/components/projet/projet.component.html +++ b/client/app/front-office/components/projet/projet.component.html @@ -62,7 +62,7 @@

Aux sources de LaRevueDurable

class="vignette" src="assets/images/illustration-pages/entretien-rts-2008-jacques-mirenowicz.jpg" /> -