# Problème avec eslint

**URL:** <https://meta.discourse.org/t/trouble-with-eslint/318178>\
**Category:** Development\
**Created:** [Juillet 24, 2024, 5:54 UTC](https://meta.discourse.org/t/trouble-with-eslint/318178 "2024-07-24T17:54:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [Juillet 24, 2024, 5:54 UTC](https://meta.discourse.org/t/trouble-with-eslint/318178/1 "2024-07-24T17:54:06Z")

</div>

J’ai un nouveau plugin qui échoue aux tests de lint :

```plaintext
Run if test -f .prettierrc.cjs; then
yarn run v1.22.22
$ /home/runner/work/discourse-multi-rating/discourse-multi-rating/node_modules/.bin/eslint --ext .js,.gjs,.js.es6 --no-error-on-unmatched-pattern test/javascripts assets/javascripts admin/assets/javascripts
Option invalide « --ext » - peut-être vouliez-vous dire « -c » ?
Vous utilisez eslint.config.js, certains indicateurs de ligne de commande ne sont plus disponibles. Veuillez consulter https://eslint.org/docs/latest/use/command-line-interface pour plus de détails.
error La commande a échoué avec le code de sortie 2.
info Consultez https://yarnpkg.com/en/docs/cli/run pour la documentation sur cette commande.
Error: Process completed with exit code 2.

```

Je ne vois pas `--ext` dans mon arborescence de fichiers source, donc peut-être qu’il se trouve dans `@discourse/lint-configs/eslint`) ? Je ne sais pas où le trouver.

Je ne vois pas ce que je fais de mal ni comment cela n’affecte pas un grand nombre de plugins. 🤷

---

_[View the full topic](https://meta.discourse.org/t/trouble-with-eslint/318178)._
