-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Server Tooling & Methods
We should add this ESLint rule to the .eslintrc.yml file to prevent Server engineers from inadvertently introducing unused variables. These could indicate a potential error or cause confusion for future readers of the code.
no-unused-vars: [2, {"args": "none", "vars": "local"}]
http://eslint.org/docs/rules/no-unused-vars
Currently when run with this rule there are 207 errors.
- is related to
-
SERVER-23728 Enable the no-unused-expressions ESLint rule to find dead code
- Closed