Skip to content

Commit

Permalink
HTML attributes must not be duplicated
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Jul 18, 2023
1 parent ccceee0 commit d32cb55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
{
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {}
"rules": {
"@angular-eslint/template/no-duplicate-attributes": ["error"]
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h1 class="mat-h1">Aux sources de LaRevueDurable</h1>
class="vignette"
src="assets/images/illustration-pages/entretien-rts-2008-jacques-mirenowicz.jpg"
/>
<audio autoplay controls="controls" [autoplay]="false">
<audio controls="controls">
<source src="/assets/images/interview.mp3" />
</audio>
</div>
Expand Down

0 comments on commit d32cb55

Please sign in to comment.