How can i configure tslint to not throw warning when underscore in a variable name in typescript?
For Example:
interface MyInterface{ USER_ID:number }
This throw "variable name must be in lowerCamelCase or UPPER_CASE" error....I cant change the variable name....
You can either the rule variable-name on your tslint.json, or better configure it to suit your specific needs (See the check-format argument for further info)
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.