eslint global disable rules code example Example 1: disable eslint /* eslint-disable */ Example 2: eslint disable /* eslint-disable */