adireddy/device-capabilities

View on GitHub

Showing 3 of 3 total issues

Function exports has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function (grunt) {

    grunt.initConfig({
        pkg: grunt.file.readJSON("package.json"),

Severity: Minor
Found in gruntfile.js - About 1 hr to fix

    callback type is Dynamic
    Open

        public function startRecognition(callback:Dynamic -> Void, ?endCallback:Void -> Void, ?noMatchCallback:Void -> Void, ?errorCallback:Void -> Void) {
            recognition.grammars = grammarList;
            recognition.lang = LANGUAGE;
            recognition.interimResults = INTERIM_RESULTS;
            recognition.maxAlternatives = MAX_ALTERNATIVES;
    Severity: Info
    Found in src/Speech.hx by haxe-checkstyle

    Checks for use of Dynamic type anywhere in the code.

    Invalid member signature: options (name should be ~/^_[a-z][a-zA-Z0-9]*$/)
    Open

        var options:PositionOptions;
    Severity: Info
    Found in src/Location.hx by haxe-checkstyle

    Checks that instance variable names conform to a format specified by the format property.

    Severity
    Category
    Status
    Source
    Language