1 год назад
История
README.md
eslint-plugin-bpmn-io
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
: Usejsx
in conjunction withbrowser
bpmn-io/node
: Use for node based projectsbpmn-io/mocha
: Use for libraries tested withmocha
+chai
bpmn-io/recommended
: Use for libraries where no environment is assumed
License
MIT
Конвейеры
0 успешных
0 с ошибкой