eslint-config-seekingalpha-react

10.4.0 • Public • Published

eslint-config-seekingalpha-react

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-jsx-a11y@6.10.2 eslint-plugin-react@7.37.5 eslint-plugin-react-hooks@5.2.0 --save-dev

Install SeekingAlpha shareable ESLint:

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

Usage

This shareable config includes all rules from following plugins:

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

import reactConfig from 'eslint-config-seekingalpha-react';

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

License

MIT © SeekingAlpha

Package Sidebar

Install

npm i eslint-config-seekingalpha-react

Weekly Downloads

1,059

Version

10.4.0

License

MIT

Unpacked Size

68.7 kB

Total Files

11

Last publish

Collaborators

  • alexkoval
  • dmytro-vasylenko
  • stanislavh