This package includes the shareable ESLint config used by SeekingAlpha.
Install ESLint and all Peer Dependencies:
npm install eslint@9.25.1 eslint-plugin-jsx-a11y@6.10.2 eslint-plugin-react@7.37.5 eslint-plugin-react-hooks@5.2.0 --save-dev
Install SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-react@latest --save-dev
This shareable config includes all rules from following plugins:
Simply use the eslint.config.js in your project with the configuration:
import reactConfig from 'eslint-config-seekingalpha-react';
export default [
{
plugins: {
...reactConfig.plugins,
},
rules: {
...reactConfig.rules,
},
},
];
MIT © SeekingAlpha