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-devInstall SeekingAlpha shareable ESLint:
npm install eslint-config-seekingalpha-react --save-devUsage
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:
- eslint-plugin-react
- eslint-plugin-jsx-a11y
- eslint-plugin-flowtype
- eslint-plugin-jest
- eslint-plugin-react-hooks
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