/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
completions-core/jshint.bash
36 строк
838 B
Ville Skyttä
chore: remove most editor mode config comments
01 июн 2026, 21:26
01 июн 2026, 21:26
bdeca44
Код
Авторство
О чём код?
# bash completion for jshint _comp_cmd_jshint() { local cur prev words cword was_split comp_args _comp_initialize -s -- "$@" || return case $prev in -v | --version | -h | --help | --exclude | --filename | -e | --extra-ext) return ;; -c | --config) _comp_compgen_filedir return ;; --reporter) _comp_compgen -- -W "jslint checkstyle unix" return ;; --extract) _comp_compgen -- -W "auto always never" return ;; esac [[ $was_split ]] && return if [[ $cur == -* ]]; then _comp_compgen_help [[ ${COMPREPLY-} == *= ]] && compopt -o nospace return fi _comp_compgen_filedir js } && complete -F _comp_cmd_jshint jshint