Folks, anybody knows how to detect un-used method & un-used Variable from component or service code is there any setting in tsconfig.json file or tslint settings
i have already used two setting in tsconfig.json file for un-necessary exports and un-used parameter
"noUnusedLocals": true, "noUnusedParameters": true,
Checkout these ESLint rules:
You need, of course, to have ESLint setup in place, but that's outside of the question scope
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.