Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikku/bpmnlint-loader
Consume bpmnlint config files with webpack
https://github.com/nikku/bpmnlint-loader
bpmnlint webpack-loader
Last synced: 2 months ago
JSON representation
Consume bpmnlint config files with webpack
- Host: GitHub
- URL: https://github.com/nikku/bpmnlint-loader
- Owner: nikku
- License: mit
- Created: 2018-09-19T10:24:16.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T15:31:49.000Z (over 1 year ago)
- Last Synced: 2024-10-09T11:43:01.804Z (3 months ago)
- Topics: bpmnlint, webpack-loader
- Language: JavaScript
- Homepage:
- Size: 295 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bpmnlint-loader
[![CI](https://github.com/nikku/bpmnlint-loader/workflows/CI/badge.svg)](https://github.com/nikku/bpmnlint-loader/actions?query=workflow%3ACI)
Consume [bpmnlint](https://github.com/bpmn-io/bpmnlint) config files with [webpack](https://webpack.js.org).
```javascript
import { Linter } from 'bpmnlint';import linterConfig from './.bpmnlintrc';
const linter = new Linter(linterConfig);
```## Installation
```sh
npm i bpmnlint-loader -D
```## Usage
Configure the loader in your `webpack.config.js`.
```js
module.exports = {
// ...
module: {
rules: [
{
test: /\.bpmnlintrc$/,
use: [
{
loader: 'bpmnlint-loader',
}
]
}
]
}
};
```This will ensure that [bpmnlint configuration files](https://github.com/bpmn-io/bpmnlint#configuration) can be consumed by your build.
# License
MIT