Skip to content

effector/eslint-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

76caffd · Nov 14, 2024
Nov 14, 2024
Nov 4, 2024
Nov 6, 2024
Nov 4, 2024
Jan 26, 2024
Apr 11, 2023
Oct 3, 2023
Apr 11, 2023
Nov 4, 2024
Aug 29, 2021
Dec 3, 2022
Nov 4, 2024
Nov 15, 2023
Nov 4, 2024
Jun 9, 2022
Jan 26, 2024

Repository files navigation

eslint-plugin-effector

Enforcing best practices for Effector. Documentation available at eslint.effector.dev.

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

Installation

Install ESLint and eslint-plugin-effector:

pnpm

$ pnpm install --dev eslint
$ pnpm install --dev eslint-plugin-effector

yarn

$ yarn add --dev eslint
$ yarn add --dev eslint-plugin-effector

npm

$ npm install --dev eslint
$ npm install --dev eslint-plugin-effector

Usage

Add effector to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

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

Read more detailed docs on eslint.effector.dev

Maintenance

Release flow

  1. Bump version in package.json
  2. Fill CHANGELOG.md
  3. Commit changes by git commit -m "Release X.X.X"
  4. Create git tag for release by git tag -a vX.X.X -m "vX.X.X"
  5. Push changes to remote by git push --follow-tags
  6. Release package to registry by pnpm clean-publish
  7. Fill release page with changelog on GitHub