[SERVER-81342] Enforce that all variables are used in jstests Created: 22/Sep/23 Updated: 10/Oct/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matt Broadstone | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | make-server-testing-joyful | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
We currently permit unused variables in our eslintrc, because historically we have had many built-ins and couldn't easily check whether variables were used or not. After the migration to modules, this is much easier to determine and so we should increase the error level of that rule. |