I\'m using tslint, and got the error.
\'myVariable\' is declared but its value is never read.
I went to the website that documents the rules
There are two type of variables and you can do it in two ways
varsIgnorePattern
no-unused-vars: ["error", { "argsIgnorePattern": "^_" }]
no-unused-vars: ["error", { "varsIgnorePattern": "^_" }]
Both these rule in eslint will ignore any function arguments and variables that starts with _ sign respectively