JSPM

  • Created
  • Published
  • Downloads 2165
  • Score
    100M100P100Q131093F
  • 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-react

This package includes the shareable ESLint config used by SeekingAlpha.

Installation

Install ESLint and all Peer Dependencies:

npm install eslint@8.7.0 eslint-plugin-jest@25.7.0 --save-dev

Install SeekingAlpha shareable ESLint:

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

Usage

This shareable config includes all ESLint rules including ECMAScript 6 features, set of legacy rules and additional rules for React We also extend our configuration with following plugins:

If you don't need configuration extended with React rules, check out our base config.

Simply extend the relevant .eslintrc.js configuration in your project with seekingalpha-react rules:

{
  extends: [
    'seekingalpha-react'
  ]
}

License

MIT © SeekingAlpha