The typescript files are filled with warning symbols and I am trying to ignore the following rules inside the .eslintrc.json file:
These are the corresponding warnings:
Is there a way to ignore these rules and make the warning disappear?
For any
, you can use "no-explicit-any":false
For void
, you can use "no-void": false
For your other warnings, the eslint rule is explicit-module-boundary-types
You probably need
"@typescript-eslint/explicit-module-boundary-types": "off"
see
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.