All Projects → effector → eslint-plugin

effector / eslint-plugin

Licence: MIT License
Enforcing best practices for Effector

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to eslint-plugin

Eslint Plugin Unicorn
Various awesome ESLint rules
Stars: ✭ 2,157 (+3026.09%)
Mutual labels:  eslint, eslint-plugin, eslint-config
eslint-config-get-off-my-lawn
A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.
Stars: ✭ 44 (-36.23%)
Mutual labels:  eslint, eslint-plugin, eslint-config
eslint-plugin-sql
SQL linting rules for ESLint.
Stars: ✭ 56 (-18.84%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-layout-shift
ESLint plugin to force responsive media elements to set the width/height attributes
Stars: ✭ 15 (-78.26%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin
autofix some errors reported by eslint rules.
Stars: ✭ 74 (+7.25%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin
😎 基于 @lint-md,提供 eslint-plugin,让 lint-md 玩家在 IDE 中得到愉悦的文档编写体验。
Stars: ✭ 22 (-68.12%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-react-hook-form
ESLint plugin for react-hook-form
Stars: ✭ 27 (-60.87%)
Mutual labels:  eslint, eslint-plugin
eslint-config-adjunct
A reasonable collection of plugins to use alongside your main esLint configuration
Stars: ✭ 39 (-43.48%)
Mutual labels:  eslint, eslint-config
eslint-plugin-rulesdir
An ESLint plugin to load project-specific ESLint rules
Stars: ✭ 28 (-59.42%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-decorator-position
ESLint plugin for enforcing decorator position
Stars: ✭ 32 (-53.62%)
Mutual labels:  eslint, eslint-plugin
eslint-config
My shared ESLint & Prettier configuration for projects
Stars: ✭ 12 (-82.61%)
Mutual labels:  eslint, eslint-config
eslint-define-config
Provide a defineConfig function for .eslintrc.js files
Stars: ✭ 61 (-11.59%)
Mutual labels:  eslint, eslint-config
eslint-plugin-svelte
ESLint plugin for Svelte using AST
Stars: ✭ 22 (-68.12%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-disable
Disable ESLint plugins using file path patterns and inline comments
Stars: ✭ 51 (-26.09%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-ban
Ban some methods and functions
Stars: ✭ 23 (-66.67%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-editorconfig
An ESLint plugin to enforce EditorConfig rules
Stars: ✭ 22 (-68.12%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-total-functions
An ESLint plugin to enforce the use of total functions (and prevent the use of partial functions) in TypeScript.
Stars: ✭ 72 (+4.35%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-expect-type
ESLint plugin with $ExpectType, $ExpectError, and $ExpectTypeSnapshot type assertions
Stars: ✭ 27 (-60.87%)
Mutual labels:  eslint, eslint-plugin
eslint-plugin-pug
An ESLint plugin for linting inline scripts in Pug files
Stars: ✭ 17 (-75.36%)
Mutual labels:  eslint, eslint-plugin
html-eslint
ESLint plugin for linting HTML
Stars: ✭ 72 (+4.35%)
Mutual labels:  eslint, eslint-plugin

eslint-plugin-effector

Enforcing best practices for Effector

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

Installation

First, install ESLint:

$ yarn add -D eslint

Next, install eslint-plugin-effector:

$ yarn add -D 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"]
}

To configure individual rules:

{
  "rules": {
    "effector/enforce-store-naming-convention": "off"
  }
}

Available presets

plugin:effector/recommended

This preset is recommended for most projects.

plugin:effector/scope

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

plugin:effector/react

This preset is recommended for projects that use React with Effector.

plugin:effector/future

This preset contains rules wich enforce future-effector code-style.

Supported rules

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 yarn clean-publish
  7. Fill release page with changelog on GitHub
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].