@nice-digital/eslint-config
v1.0.3
Published
Shared ESLint config for use in NICE Digital Services
Downloads
24
Readme
eslint-config
Shared ESLint config for use in NICE Digital Services
Usage
npm i @nice-digital/eslint-config --save-dev
Then in your project's .eslintrc:
{
"extends": "@nice-digital/eslint-config"
}
Or to use ES6:
{
"extends": "@nice-digital/eslint-config/es6"
}
Or to use FlowType annotations:
npm i babel-eslint eslint-plugin-flowtype --save-dev
{
"extends": "@nice-digital/eslint-config/es6-flow"
}