Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 971 Bytes

File metadata and controls

40 lines (26 loc) · 971 Bytes

eslint-config-seekingalpha-node

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-n@17.24.0 --save-dev

Install SeekingAlpha shareable ESLint:

npm install eslint-config-seekingalpha-node@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 nodeConfig from 'eslint-config-seekingalpha-node';

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

License

MIT © SeekingAlpha