JSPM

dmnlint-loader

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q42005F
  • License MIT

Consume dmnlint config files with webpack

Package Exports

  • dmnlint-loader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dmnlint-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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