# aurelia-template-check-loader

> Sanity check of Aurelia templates for Webpack

Latest version **0.1.1** (published 2021-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install aurelia-template-check-loader
pnpm add aurelia-template-check-loader
yarn add aurelia-template-check-loader
bun add aurelia-template-check-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2021-09-13 |
| First published | 2021-08-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ronen Kelman |
| Maintainers | 726b |
| Keywords | aurelia, template, sanity, check, webpack, loader |

## Links

- npm: https://www.npmjs.com/package/aurelia-template-check-loader
- Repository: https://github.com/726b/aurelia-template-check-loader
- Issues: https://github.com/726b/aurelia-template-check-loader/issues
- npm.io page: https://npm.io/package/aurelia-template-check-loader

## Dependencies (4)

- [jsdom](https://npm.io/package/jsdom.md) ~11.5.1
- [loader-utils](https://npm.io/package/loader-utils.md) ^2.0.0
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.2
- [aurelia-template-lint](https://npm.io/package/aurelia-template-lint.md) ^0.10.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2021-09-13
- 0.1.0 — 2021-08-26

## README

# aurelia-template-check-loader

Sanity check of Aurelia templates for Webpack.

## Installation

`yarn add aurelia-template-check-loader --dev`

## How to use

````js
module.exports = {
  module: {
    rules: [
      {
        enforce: "pre",
        test: /\.html$/i,
        use: [
          loader: "aurelia-template-check-loader",
          options: {
            // Aurelia template lint configuration object
            // See https://github.com/aurelia/template-lint
            configuration: {},

            // Display the linter's output as errors (true) or warnings (false)
            emitErrors: true,

            // Activates useRuleAureliaBindingAccess option
            // See https://github.com/aurelia/template-lint
            typeChecking: true
          }
        ]
      }
    ]
  }
}
````

## Configuration options

For more configuration options and documentation, go to [Aurelia's official template linter](https://github.com/aurelia/template-lint).

---
_Source: https://npm.io/package/aurelia-template-check-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
