This package includes the shareable ESLint config used by SeekingAlpha.
Install ESLint and all Peer Dependencies:
npm install eslint@8.57.0 eslint-plugin-jsx-a11y@6.8.0 eslint-plugin-react@7.34.1 eslint-plugin-react-hooks@4.6.0 --save-dev
Install SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-react --save-dev
This shareable config includes all ESLint rules including ECMAScript 6 features, set of legacy rules and additional rules for React
We also extend our configuration with following plugins:
If you don't need configuration extended with React
rules, check out our base config.
Simply extend the relevant .eslintrc.js configuration in your project with seekingalpha-react
rules:
{
extends: [
'seekingalpha-react'
]
}
MIT © SeekingAlpha