[eslint] Fix when running with `.`

Fixes some issue around what gets ignored when linting.
Found while running `npm run lint -- .`

Bug: 397260638
Change-Id: I858b9078611a3cb9f31c60ff3e18d99b56563d73
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6280813
Reviewed-by: Philip Pfaffe <[email protected]>
Commit-Queue: Nikolay Vitkov <[email protected]>
Reviewed-by: Mathias Bynens <[email protected]>
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 62b0fc9..8131a30 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -33,6 +33,11 @@
       'build/',
       'buildtools/',
 
+      // Don't include the common build directory
+      'out/',
+      // Don't include third party code
+      'third_party/',
+
       'front_end/diff/diff_match_patch.jD',
       'front_end/models/javascript_metadata/NativeFunctions.js',
       // All of these scripts are auto-generated so don't lint them.