ESLint config for NectarUi.
npm install @nectar-ui/eslint-configESLint configuration for NectarUi.
1. Install the @nectar-ui/eslint-config package using npm or yarn.
Note: Until this ongoing issue with ESLint is fixed, you must also install @rushstack/eslint-patch.
``sh`
npm install @nectar-ui/eslint-config @rushstack/eslint-patch
// or
yarn add @nectar-ui/eslint-config @rushstack/eslint-patch
2. Create an ESLint config file (.eslintrc) with the root of your project.
`js
require('@rushstack/eslint-patch/modern-module-resolution')
module.exports = {
root: true,
extends: [@nectar-ui]``
}