plugin:effector/future
This preset contains rules, which enforce future-effector code-style.
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 eslintwith yarn
sh
yarn add --dev eslint-plugin-effector eslintwith npm
sh
npm install --dev eslint-plugin-effector eslintConfiguration
Add effector to the plugin section of your .eslintrc configuration file, and add plugin:effector/future to the extends section.
json
{
"plugins": ["effector"],
"extends": ["plugin:effector/future"]
}