Skip to content
On this page

plugin:effector/scope

This preset is recommended for projects that use Fork API. You can read more about Fork API in an article.

Installation

TIP

This plugin uses TypeScript for more precise results, but JavaScript is supported too.

First, you need to install ESLint and plugin:

with pnpm

sh
pnpm install --dev eslint-plugin-effector eslint

with yarn

sh
yarn add --dev eslint-plugin-effector eslint

with npm

sh
npm install --dev  eslint-plugin-effector eslint

Configuration

Add effector to the plugin section of your .eslintrc configuration file, and add plugin:effector/scope to the extends section.

json
{
  "plugins": ["effector"],
  "extends": ["plugin:effector/scope"]
}

Rules

Released under the MIT License.