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