how to disable errors in eslint code example Example 1: disable eslint /* eslint-disable */ Example 2: eslint disable /* eslint-disable */