javascript eslintrc code example
Example 1: eslint npm install
$ npm install eslint --save-dev
$ ./node_modules/.bin/eslint --init
Example 2: eslint ignore
/* eslint-disable */
alert('foo');
/* eslint-enable */
$ npm install eslint --save-dev
$ ./node_modules/.bin/eslint --init
/* eslint-disable */
alert('foo');
/* eslint-enable */