eslint-config-ebay-common
v1.1.2
Published
eBay JavaScript linting rules for ESLint
Downloads
7
Readme
eslint-config-ebay-common
eBay Javascript linting configs for ESLint
Installation
yarn add --dev eslint eslint-config-ebay-common
or
npm i --save-dev eslint eslint-config-ebay-common
Configuration
Create .eslintrc.json
file with the following content:
{
"extends": [ "ebay-common" ],
"rules": {
your additional rules here
}
}
Run
eslint .
Available configs to extend
ebay-common
(Latest ES8/2017 support)ebay-common/node6
(ES7/2016 support)ebay-common/node4
(~50% of ES6/2015 support)ebay-common/legacy
(ES5 support)