eslint-plugin-bpmn-io

Shared lint rules for bpmn.io projects

Usage no npm install needed!

<script type="module">
  import eslintPluginBpmnIo from 'https://cdn.skypack.dev/eslint-plugin-bpmn-io';
</script>

README

eslint-plugin-bpmn-io

CI

Commont lint rules for bpmn.io projects.

Use

Extend bpmn-io/* in your base eslint configuration:

{
  "extends": "plugin:bpmn-io/es6"
}

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/es5: Use for ES5 style projects / node libraries
  • bpmn-io/es6: Use for modern, ES2015 based projects
  • bpmn-io/jsx: Use jsx in conjunction with es6
  • bpmn-io/mocha: Use for libraries tested with mocha + chai

License

MIT