eslint-config-seekingalpha-base
This package includes the shareable ESLint config used by SeekingAlpha.
Installation
Install ESLint and all Peer Dependencies:
npm install eslint@9.29.0 eslint-plugin-array-func@5.0.2 eslint-plugin-import@2.32.0 eslint-plugin-promise@7.2.1 eslint-plugin-unicorn@59.0.1 --save-dev
Install SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-base@latest --save-dev
Usage
This shareable config includes all ESLint rules. We also extend our configuration with following plugins:
Simply use the eslint.config.js in your project with the configuration:
import baseConfig from 'eslint-config-seekingalpha-base';
export default [
{
plugins: {
...baseConfig.plugins,
},
rules: {
...baseConfig.rules,
},
settings: {
...baseConfig.settings,
},
},
];
License
MIT © SeekingAlpha