Have ideas to improve npm?Join in the discussion! »

    dmnlint-loader

    0.1.0 • Public • Published

    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

    Install

    npm i dmnlint-loader

    DownloadsWeekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    3.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar