HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/usr/share/bash-completion/completions/jshint
# bash completion for jshint                               -*- shell-script -*-

_jshint()
{
    local cur prev words cword split
    _init_completion -s || return

    case $prev in
        -v|--version|-h|--help|--exclude|--filename|-e|--extra-ext)
            return
            ;;
        -c|--config)
            _filedir
            return
            ;;
        --reporter)
            COMPREPLY=( $(compgen -W "jslint checkstyle unix" -- "$cur") )
            return
            ;;
        --extract)
            COMPREPLY=( $(compgen -W "auto always never" -- "$cur") )
            return
            ;;
    esac

    $split && return

    if [[ $cur == -* ]]; then
        COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
        [[ $COMPREPLY == *= ]] && compopt -o nospace
        return
    fi

    _filedir js
} &&
complete -F _jshint jshint

# ex: filetype=sh