Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/effector/eslint-plugin
Enforcing best practices for Effector
https://github.com/effector/eslint-plugin
effector eslint eslint-config eslint-plugin
Last synced: 25 days ago
JSON representation
Enforcing best practices for Effector
- Host: GitHub
- URL: https://github.com/effector/eslint-plugin
- Owner: effector
- License: mit
- Created: 2021-08-28T05:19:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T10:04:52.000Z (8 months ago)
- Last Synced: 2024-04-14T09:04:39.489Z (7 months ago)
- Topics: effector, eslint, eslint-config, eslint-plugin
- Language: JavaScript
- Homepage: https://eslint.effector.dev
- Size: 38.9 MB
- Stars: 90
- Watchers: 12
- Forks: 16
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-effector
Enforcing best practices for [Effector](http://effector.dev/). Documentation available at [eslint.effector.dev](https://eslint.effector.dev/).
> This plugin uses TypeScript for more precise results, but JavaScript is supported too.
## Installation
Install [ESLint](http://eslint.org) 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:
```json
{
"plugins": ["effector"],
"extends": ["plugin:effector/recommended", "plugin:effector/scope"]
}
```Read more detailed docs on [eslint.effector.dev](https://eslint.effector.dev/)
## Maintenance
### Release flow
1. Bump `version` in [package.json](package.json)
2. Fill [CHANGELOG.md](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