Package Exports
- eslint-config-seekingalpha-base
- eslint-config-seekingalpha-base/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-seekingalpha-base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.23.0 eslint-plugin-array-func@5.0.2 eslint-plugin-import@2.31.0 eslint-plugin-promise@7.2.1 eslint-plugin-unicorn@58.0.0 --save-devInstall SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-base@latest --save-devUsage
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