{"id":24938,"library":"aurelia-template-lint-loader","title":"Aurelia Template Lint Webpack Loader","description":"Webpack loader to lint Aurelia HTML templates using aurelia-template-lint. Version 1.0.1 is the latest stable release. It runs as a pre/post-loader to catch template errors during bundling. Accepts optional configuration like emitErrors, failOnHint, typeChecking, and fileGlob. Differentiators: integrates Aurelia template linting directly into webpack build pipeline. Low maintenance frequency.","status":"active","version":"1.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/w3tecch/aurelia-template-lint-loader","tags":["javascript","aurelia","webpack","loader","linting"],"install":[{"cmd":"npm install aurelia-template-lint-loader","lang":"bash","label":"npm"},{"cmd":"yarn add aurelia-template-lint-loader","lang":"bash","label":"yarn"},{"cmd":"pnpm add aurelia-template-lint-loader","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core linting library for Aurelia templates.","package":"aurelia-template-lint","optional":false}],"imports":[{"note":"Webpack v1 uses preLoaders; v2+ uses rules with enforce: 'pre'.","wrong":"module.exports = { module: { rules: [{ test: /\\.html$/, use: 'aurelia-template-lint-loader' }] } }","symbol":"Loader configuration entry","correct":"module.exports = { module: { preLoaders: [{ test: /\\.html$/, loader: 'aurelia-template-lint-loader' }] } }"}],"quickstart":{"code":"// webpack.config.js\nmodule.exports = {\n  module: {\n    preLoaders: [\n      {\n        test: /\\.html$/,\n        loader: 'aurelia-template-lint-loader'\n      }\n    ]\n  },\n  aureliaTemplateLinter: {\n    failOnHint: true,\n    emitErrors: false\n  }\n};","lang":"javascript","description":"Webpack configuration to lint Aurelia HTML templates during build with failOnHint enabled."},"warnings":[{"fix":"Use module.rules with enforce: 'pre' instead of preLoaders.","message":"The loader is designed for webpack v1 with preLoaders; for webpack v2+ use 'enforce: pre' in rules.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Update to version 1.0.1 which fixes this issue, or manually check build output.","cause":"The loader does not output lint errors to console when failOnHint is true.","error":"failOnHint doesn't log errors"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}