Noncommital Premarital Mischief

    knockout-lint
    TypeScript icon, indicating that this package has built-in type declarations

    0.3.3 • Public • Published

    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 GitHub Wiki.

    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
      

    Install

    npm i knockout-lint

    DownloadsWeekly Downloads

    10

    Version

    0.3.3

    License

    MIT

    Unpacked Size

    222 kB

    Total Files

    71

    Last publish

    Collaborators

    • tresayle
    • acc-mart