eslint-config-universal-search
v3.0.0
Published
ESLint shareable config for Universal Search
Downloads
8
Maintainers
Readme
eslint-config-universal-search
ESLint shareable config for Universal Search.
Installation:
$ npm i eslint eslint-config-universal-search -D
Then in your package.json file, add a custom script to invoke ESLint against whatever files you want linted:
"scripts": {
"lint": "eslint ."
}
Usage:
Create an .eslintrc file and extend the custom universal-search
shared config:
extends: universal-search
rules:
consistent-return: 0
no-console: 0
— via universal-search-addon .eslintrc
Or if you're using the ES6 babel-eslint parser:
extends: universal-search
parser: babel-eslint
rules:
no-console: 0