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
Consume dmnlint config files with webpack.
import { Linter } from 'dmnlint';
import linterConfig from './.dmnlintrc';
const linter = new Linter(linterConfig);Installation
npm i dmnlint-loader -DUsage
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