All Projects → bpmn-io → Bpmn Js Bpmnlint

bpmn-io / Bpmn Js Bpmnlint

Licence: mit
A bpmnlint plug-in for bpmn-js.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Bpmn Js Bpmnlint

bpmnlint
Validate BPMN diagrams based on configurable lint rules.
Stars: ✭ 82 (+215.38%)
Mutual labels:  linter, bpmn
Dotenv Linter
⚡️Lightning-fast linter for .env files. Written in Rust 🦀
Stars: ✭ 802 (+2984.62%)
Mutual labels:  linter
Pre Commit
A framework for managing and maintaining multi-language pre-commit hooks.
Stars: ✭ 7,024 (+26915.38%)
Mutual labels:  linter
Sonarts
Static code analyzer for TypeScript
Stars: ✭ 776 (+2884.62%)
Mutual labels:  linter
Interfacer
A linter that suggests interface types
Stars: ✭ 706 (+2615.38%)
Mutual labels:  linter
Super Linter
Combination of multiple linters to install as a GitHub Action
Stars: ✭ 7,445 (+28534.62%)
Mutual labels:  linter
Phplint
🐛 A tool that can speed up linting of php files by running several lint processes at once.
Stars: ✭ 646 (+2384.62%)
Mutual labels:  linter
Dll
Go linter for finding defer statements inside for loops
Stars: ✭ 23 (-11.54%)
Mutual labels:  linter
Sublime Phpcs
🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter and Mess Detector Support for Sublime Text
Stars: ✭ 805 (+2996.15%)
Mutual labels:  linter
Pydocstyle
docstring style checker
Stars: ✭ 752 (+2792.31%)
Mutual labels:  linter
Ls Lint
An extremely fast directory and filename linter - Bring some structure to your project directories
Stars: ✭ 745 (+2765.38%)
Mutual labels:  linter
Tslint
🚦 An extensible linter for the TypeScript language
Stars: ✭ 5,922 (+22676.92%)
Mutual labels:  linter
Awesome Go Linters
A curated list of awesome Go linters. More than 60 linters and tools!
Stars: ✭ 801 (+2980.77%)
Mutual labels:  linter
Standard
🌟 JavaScript Style Guide, with linter & automatic code fixer
Stars: ✭ 26,433 (+101565.38%)
Mutual labels:  linter
Lintr
Static Code Analysis for R
Stars: ✭ 817 (+3042.31%)
Mutual labels:  linter
Xo
❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
Stars: ✭ 6,277 (+24042.31%)
Mutual labels:  linter
Dockerfilelint
An opinionated Dockerfile linter.
Stars: ✭ 736 (+2730.77%)
Mutual labels:  linter
Kroki
Creates diagrams from textual descriptions!
Stars: ✭ 774 (+2876.92%)
Mutual labels:  bpmn
Cuke linter
A linting tool for Cucumber
Stars: ✭ 24 (-7.69%)
Mutual labels:  linter
Sonar Jproperties Plugin
SonarQube Java Properties Analyzer
Stars: ✭ 5 (-80.77%)
Mutual labels:  linter

bpmn-js-bpmnlint

Build Status

Integrates bpmnlint into bpmn-js.

Screenshot

See this extension in action as part of the bpmnlint playground.

Usage

Integrate the linter into bpmn-js:

import lintModule from 'bpmn-js-bpmnlint';

import BpmnModeler from 'bpmn-js/lib/Modeler';

import bpmnlintConfig from './.bpmnlintrc';

var modeler = new BpmnModeler({
  linting: {
    bpmnlint: bpmnlintConfig
  },
  additionalModules: [
    lintModule
  ]
});

Bundle Lint Rules

Use an appropriate plugin/loader for your module bundler (cf. rollup-plugin-bpmnlint, bpmnlint-loader) to bundle the bpmnlint configuration directly with your application as shown above.

Alternatively, pack your local .bpmnlintrc file using the bpmnlint-pack-config utility:

bpmnlint-pack-config -c .bpmnlintrc -o bundled-config.js

Plug-in Lint Rules

Provide the packed lint rules via the linting.bpmnlint option. You may set it dynamically, too:

var linting = modeler.get('linting');

linting.setLinterConfig(bpmnlintConfig);

Resources

Development Setup

npm install
npm run dev

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].