-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update lint.js now that we are using ESLint 9 #1484
Comments
From #1469 here are some checklist items:
|
I'll run performance tests of using the API or processes on cached or --clean, on mac and windows. That will help us know for sure whether we need both implementations. |
|
Design goals:
Next steps:
|
Subject: [PATCH] add authors, https://github.com/phetsims/chipper/issues/1502
---
Index: js/grunt/lint.ts
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/js/grunt/lint.ts b/js/grunt/lint.ts
--- a/js/grunt/lint.ts (revision 9c6461e0c47a003490903950a5c25b4448071083)
+++ b/js/grunt/lint.ts (date 1730747840002)
@@ -175,7 +175,8 @@
cache: true,
cacheLocation: path.resolve( getCacheLocation( repo ) ),
fix: options.fix,
- errorOnUnmatchedPattern: false
+ errorOnUnmatchedPattern: false,
+ flags: [ '--debug' ]
};
// Create ESLint instance |
|
|
I added 6 TODOs as part of the review. @samreid and I merged to main, and the rest is in his court. Thanks SR!1 |
TODOs addressed, --processes added which sets the maximum number of allowable processes. We are merged to main. Feature branches deleted. Closing. |
On second thought, I'm very confused about all the entry points that are allowed to pass through LintOptions. The default occurs in several places. Would be good for @zepumph to review and comment. |
@samreid and I agree it is awkward, and |
From #1451 there were many TODOs to upgrade the lint process. Most of this should be done before #1415.
The text was updated successfully, but these errors were encountered: