JSPM

  • Created
  • Published
  • Downloads 2165
  • Score
    100M100P100Q131081F
  • License MIT

SeekingAlpha's sharable testing ESLint config

Package Exports

  • eslint-config-seekingalpha-tests
  • eslint-config-seekingalpha-tests/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-tests) 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-tests

This package includes the shareable ESLint config used by SeekingAlpha.

Installation

Install ESLint and all Peer Dependencies:

npm install eslint@9.39.2 eslint-plugin-jest@29.15.2 eslint-plugin-testing-library@7.16.2 --save-dev

Install SeekingAlpha shareable ESLint:

npm install eslint-config-seekingalpha-tests@latest --save-dev

Usage

This configuration extended with following plugins:

Simply use the eslint.config.js in your project with the configuration:

import testsConfig from 'eslint-config-seekingalpha-tests';

export default [
  {
    plugins: {
      ...testsConfig.plugins,
    },
    rules: {
      ...testsConfig.rules,
    },
  },
];

License

MIT © SeekingAlpha