Search code examples
reactjscreate-react-apptypescript-eslint

How to disable no-unused-vars warning from terminal while using react-scripts


()Also, i tried a few fixed at this site, but nothing worked..., so I thought of posting the same question again.


Solution

  • /* eslint-disable @typescript-eslint/no-unused-vars */

    You can use this line in the starting of the file to disable such warnings from cra's warnings in terminal.