Skip to content

Consume dmnlint config files with webpack

License

Notifications You must be signed in to change notification settings

bpmn-io/dmnlint-loader

Repository files navigation

dmnlint-loader

Build Status

Consume dmnlint config files with webpack.

import { Linter } from 'dmnlint';

import linterConfig from './.dmnlintrc';

const linter = new Linter(linterConfig);

Installation

npm i dmnlint-loader -D

Usage

Configure the loader in your webpack.config.js.

module.exports = {
  // ...
  module: {
    rules: [
      {
        test: /\.dmnlintrc$/,
        use: [
          {
            loader: 'dmnlint-loader',
          }
        ]
      }
    ]
  }
};

This will ensure that dmnlint configuration files can be consumed by your build.

Credits

The project is based on dmnlint-loader built by nikku.

License

MIT

About

Consume dmnlint config files with webpack

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published