eslint-config-seekingalpha-node
This package includes the shareable ESLint config used by SeekingAlpha.
Installation
Install ESlint and all Peer Dependencies with NPM:
npm install eslint@"^5.6.0" babel-eslint@"^8.2.6" eslint-plugin-array-func@"^3.0.0" eslint-plugin-import@"^2.14.0" eslint-plugin-jsdoc@"^3.8.0" eslint-plugin-no-use-extend-native@"^0.3.12" eslint-plugin-node@"^7.0.1" eslint-plugin-promise@"^4.0.1" eslint-plugin-unicorn@"^5.0.0" --save-dev
or Yarn:
yarn add --dev eslint@^5.6.0 babel-eslint@^8.2.6 eslint-plugin-array-func@^3.0.0 eslint-plugin-import@^2.14.0 eslint-plugin-jsdoc@^3.8.0 eslint-plugin-no-use-extend-native@^0.3.12 eslint-plugin-node@^7.0.1 eslint-plugin-promise@^4.0.1 eslint-plugin-unicorn@^5.0.0
Install SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-node --save-dev
For Yarn:
yarn add --dev eslint-config-seekingalpha-node
Usage
This shareable config includes all ESLint rules including ECMAScript 6 features, set of legacy rules and additional rules for node
We also extend our configuration with following plugins:
If you don't need configuration extended with node
rules, check out our base config.
Simply extend the relevant .eslintrc.js configuration in your project with seekingalpha-node
rules:
{
extends: [
'seekingalpha-node'
]
}
License
MIT © SeekingAlpha