Launch Week Day 2: Introducing Reports: An Extensible Reporting Framework for Socket Data.Learn More
Socket
Book a DemoSign in
Socket

jovo-v4-community-plugin-model-linter-beta

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

jovo-v4-community-plugin-model-linter-beta

Have your Jovo model auto validated before using it.

unpublished
latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Model Linter Hook for Jovo V4

WARNING: This is work in progress and not intended to be used yet.

Note that this project may disappear any time without further notice.

NPM

Overview

This hook for the Jovo V4 Framework will auto check your model files against a number of rules when you run the build process.

Model maintenance is hard

Maintaining model voice files is hard especially when they grow and get bigger. Easily you add duplicate contents without notice or use same utterances for different intents which may lead to strange behaviour of your application within a runtime environment.

How can model linter help?

The Model Linter will auto check your voice model files against a number of rules when you run the build process. While doing this the policy is to never break a build but to print warnings on the console in case something seems odd. You may know why your are doing things - but the hook will tell you things which you may want to double check just to make sure.

Why should I use the model linter?

It costs nothing and may save you a lot of time.

Install

Install the plugin into your Jovo project:

npm install jovo-v4-community-plugin-model-linter-beta --save

Register the plugin in:

jovo.project.js:

const { ModelLinterHook } = require("jovo-v4-community-plugin-model-linter-beta");

const project = new ProjectConfig({
  hooks: {
    'before.build:platform': [ModelLinterHook],
  }, // [...]

jovo.project.ts:

import { ModelLinterHook } from "jovo-v4-community-plugin-model-linter-beta";

const project = new ProjectConfig({
  hooks: {
    'before.build:platform': [ModelLinterHook],
  }, // [...]

License

Apache V2

Keywords

jovo

FAQs

Package last updated on 16 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts