[PSA] npm run lint

10 views
Skip to first unread message

Benedikt Meurer

unread,
Aug 19, 2024, 11:32:45 AM8/19/24
to devtools-dev
Hey folks,

With https://crrev.com/c/5796886 I'm introducing a new `npm run lint` script, which takes an optional list of files, folders, and glob patterns, and supports the `--fix` / `--no-fix` parameter. This automatically filters the provided inputs and runs .ts/.js files through ESLint and .css files through stylelint. I'm planning to remove all the `npm run check-lint*` scripts as well as the `scripts/test/run_lint_check*` support files in follow up CL. 

Please start using `npm run lint` instead of the `npm run check-lint*` scripts going forward, and let me know if you run into any issues. The PRESUBMIT.py is already updated to use the new script.

cheers,
Benedikt

--

Benedikt Meurer

Chromium DevTools Manager

bme...@chromium.org


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. 

     

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.

Reply all
Reply to author
Forward
0 new messages