<commit_before>#!/usr/bin/env bash

# The next three lines are for the go shell.
export SCRIPT_NAME="Closure Linter"
export SCRIPT_HELP="Lint JavaScript source via Google's Closure Linter."
[[ "$GOGO_GOSH_SOURCE" -eq 1 ]] && return 0

# Normal script execution starts here.
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/../
source "$DIR"/env.sh || exit 1
use-gosh-contrib-or-die
assert-env-or-die TOOLS
assert-env-or-die GJSLINT_ENV

# Create the virtual environment if needed.
export GOSH_CONTRIB_PYTHON_REQ_DEPS="$TOOLS"/gjslint/gjslint-deps.req
export GOSH_CONTRIB_PYTHON_OPT_DEPS="$TOOLS"/gjslint/gjslint-deps.opt
export GOSH_CONTRIB_PYTHON_VENV="$GJSLINT_ENV"
create_python_env "python2"

JSDOC_TAGS="function,namespace,default,example,property,name,file,exports,
version,readonly,tutorial"
<commit_msg>ignore jsdoc memberof in closure linter<commit_after>#!/usr/bin/env bash

# The next three lines are for the go shell.
export SCRIPT_NAME="Closure Linter"
export SCRIPT_HELP="Lint JavaScript source via Google's Closure Linter."
[[ "$GOGO_GOSH_SOURCE" -eq 1 ]] && return 0

# Normal script execution starts here.
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"/../
source "$DIR"/env.sh || exit 1
use-gosh-contrib-or-die
assert-env-or-die TOOLS
assert-env-or-die GJSLINT_ENV

# Create the virtual environment if needed.
export GOSH_CONTRIB_PYTHON_REQ_DEPS="$TOOLS"/gjslint/gjslint-deps.req
export GOSH_CONTRIB_PYTHON_OPT_DEPS="$TOOLS"/gjslint/gjslint-deps.opt
export GOSH_CONTRIB_PYTHON_VENV="$GJSLINT_ENV"
create_python_env "python2"

JSDOC_TAGS="function,namespace,default,example,property,name,file,exports,
version,readonly,tutorial,memberof"

{'fraction_non_alphanumeric': 0.13048707155742634, 'fraction_numerical': 0.006013229104028864, 'mean_word_length': 6.703703703703703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4075208', 'n_tokens_mistral': 672, 'n_tokens_neox': 623, 'n_words': 127}