eslint-plugin-bpmn-io
![CI](https://github.com/bpmn-io/eslint-plugin-bpmn-io/workflows/CI/badge.svg)
Common lint rules for bpmn.io projects.
Use
Extend bpmn-io/*
in your base eslint configuration:
{
"extends": "plugin:bpmn-io/browser"
}
If you use mocha for testing, place another .eslintrc
into your test
folder and extend from bpmn-io/mocha
:
{
"extends": "plugin:bpmn-io/mocha"
}
Available Recommended Configurations
We ship with a few blue prints:
bpmn-io/browser
: Use for browser based projectsbpmn-io/jsx
: Use jsx
in conjunction with browser
bpmn-io/node
: Use for node based projectsbpmn-io/mocha
: Use for libraries tested with mocha
+ chai
bpmn-io/recommended
: Use for libraries where no environment is assumed
License
MIT