Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
lib
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm version Downloads License

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 docs.kolint.org.

Try it out

  1. Add reference to your view:
    <!-- ko-import ViewModel from './viewmodel' -->
    <!-- ko-viewmodel ViewModel -->
  2. Run KOLint without installing it:
    $ npx knockout-lint view.html