Package Exports
- knockout-lint
- knockout-lint/build/index.js
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 (knockout-lint) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
KOLint
KOLint is a type checker and lint tool for Knockout.JS views. TypeScript is used for type checking the Knockout view bindings when the viewmodel is defined in Typescript. The tool also checks for common mistakes in Knockout views. See documentation at GitHub Wiki.
Try it out
- Add reference to your view:
<!-- ko-import ViewModel from './viewmodel' --> <!-- ko-viewmodel ViewModel -->
- Run KOLint without installing it:
$ npx knockout-lint view.html