eslint-config-seekingalpha-base
Advanced tools
Weekly downloads
Readme
This package includes the shareable ESLint config used by SeekingAlpha.
Install ESLint and all Peer Dependencies:
npm install eslint@8.37.0 eslint-plugin-array-func@3.1.8 eslint-plugin-import@2.27.5 eslint-plugin-no-use-extend-native@0.5.0 eslint-plugin-promise@6.1.1 eslint-plugin-unicorn@46.0.0 --save-dev
Install SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-base --save-dev
This shareable config includes all ESLint rules including ECMAScript 6 features and set of legacy rules. We also extend our configuration with following plugins:
We expose three configurations:
seekingalpha-base
- exports all avaliable ESLint rules and all rules of plugins above.seekingalpha-base/browser
- exports only browser related rules for ESLint and mentioned plugins. It also sets browser
as default environment.seekingalpha-base/node
- exports only Node.js related rules for ESLint and mentioned plugins. It also sets node
as default environment.Simply extend the .eslintrc.js in your project with relevant configuration:
// for seekingalpha-base
{
extends: [
'seekingalpha-base'
]
}
MIT © SeekingAlpha
FAQs
SeekingAlpha's sharable base ESLint config
The npm package eslint-config-seekingalpha-base receives a total of 252 weekly downloads. As such, eslint-config-seekingalpha-base popularity was classified as not popular.
We found that eslint-config-seekingalpha-base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.