Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.08 KB

File metadata and controls

41 lines (27 loc) · 1.08 KB

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.0 eslint-plugin-testing-library@7.15.4 --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