Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bpmn-io/eslint-plugin-bpmn-io
Common lint rules for bpmn.io projects
https://github.com/bpmn-io/eslint-plugin-bpmn-io
Last synced: 3 months ago
JSON representation
Common lint rules for bpmn.io projects
- Host: GitHub
- URL: https://github.com/bpmn-io/eslint-plugin-bpmn-io
- Owner: bpmn-io
- License: mit
- Created: 2018-02-14T12:30:38.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T09:41:11.000Z (7 months ago)
- Last Synced: 2024-04-14T11:10:11.801Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 415 KB
- Stars: 3
- Watchers: 8
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bpmn-io - eslint-plugin-bpmn-io - Common lint rules for bpmn.io projects (Extensions)
README
# eslint-plugin-bpmn-io
[![CI](https://github.com/bpmn-io/eslint-plugin-bpmn-io/workflows/CI/badge.svg)](https://github.com/bpmn-io/eslint-plugin-bpmn-io/actions?query=workflow%3ACI)
Common lint rules for [bpmn.io](https://bpmn.io) projects.
## Use
Extend `bpmn-io/*` in your base eslint configuration:
```json
{
"extends": "plugin:bpmn-io/browser"
}
```If you use [mocha](https://mochajs.org/) for testing, place another `.eslintrc` into your `test` folder and extend from `bpmn-io/mocha`:
```json
{
"extends": "plugin:bpmn-io/mocha"
}
```## Available Recommended Configurations
We ship with a few blue prints:
* `bpmn-io/browser`: Use for browser based projects
* `bpmn-io/jsx`: Use `jsx` in conjunction with `browser`
* `bpmn-io/node`: Use for node based projects
* `bpmn-io/mocha`: Use for libraries tested with `mocha` + `chai`
* `bpmn-io/recommended`: Use for libraries where no environment is assumed## License
MIT