JSPM

eslint-config-seekingalpha-base

11.7.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2771
  • Score
    100M100P100Q129584F
  • License MIT

SeekingAlpha's sharable base ESLint config

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.25.1 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-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