Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

eslint ignore file rule

/* eslint-disable no-alert, no-console */

alert('foo');
console.log('bar');

/* eslint-enable no-alert, no-console */
Source by eslint.org #
 
PREVIOUS NEXT
Tagged: #eslint #ignore #file #rule
ADD COMMENT
Topic
Name
6+2 =