ESlint disable comment
We can type some comments above the code to change eslint validation rule.
Comment | Description | Scenario |
---|---|---|
eslint-disable-next-line | Do not force you to let the code transform into a separate line. the max length per line is 120 . |
If you want to let your code over the max length limit |
@ts-ignore | Ignore to validate the next line of the code | Third-party code without TypeScript format |