feat(script): Tech debt metrics generation via ESLint#21276
Closed
feat(script): Tech debt metrics generation via ESLint#21276
Conversation
0015387 to
d3fcdc5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #21276 +/- ##
===========================================
+ Coverage 69.16% 82.85% +13.69%
===========================================
Files 1948 520 -1428
Lines 76054 36534 -39520
Branches 8493 0 -8493
===========================================
- Hits 52601 30271 -22330
+ Misses 21273 6263 -15010
+ Partials 2180 0 -2180
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c9d10e2 to
e5c7b55
Compare
faab66f to
c44a727
Compare
Member
Author
|
Closing this and starting a fresh branch/PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
This adds a script that generates a report of technical debt issues we care to track. These tech debt items are added as lint rules in a separate lint config for cleanliness. The script generates a JSON file with rollups/counts of each type of offense, as well as their granular files/lines. Over time, we can use these rollups/files to generate a report/dashboard and track our technical debt over time or enforce that it doesn't grow.
TODO:
We'll keep this stuff on multiple GSheet tabs:
Tab 1: Aggregated stats for all validators (eslint, pylint, whatever...). This will have a schema with the following columns:
Tab 2-n: Schema depends on the validator, but these will be "shopping lists" of tech debt
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
npm run lint-statsADDITIONAL INFORMATION