<commit_before>'use strict';

/**
* ESLint rules to catch programmer errors.
*
* @namespace rules
*/
var rules = {};

/**
* Never allow a `for` loop with a stop condition which can never be reached.
*
* @name for-direction
* @memberof rules
* @typeof rules
* @type {string}
* @default 'error'
* @see [for-direction]{@link http://eslint.org/docs/rules/for-direction}
*
* @example
* // Bad...
* var i;
* for ( i = 0; i < 10; i-- ) {
*     // Do something...
* }
*
* @example
* // Good...
* var i;
* for ( i = 0; i < 10; i++ ) {
*     // Do something...
* }
*/
rules[ 'for-direction' ] = 'error';

/**
* Warn when using `await` inside of loops.
*
* @name no-await-in-loop
* @memberof rules
* @type {string}
* @default 'warn'
* @see [no-await-in-loop]{@link http://eslint.org/docs/rules/no-await-in-loop}
*/
rules[ 'no-await-in-loop' ] = 'warn';

/**
* Never allow comparison to negative zero.
*
* @name no-compare-neg-zero
* @memberof rules
* @type {string}
* @default 'error'
* @see [no-compare-neg-zero]{@link http://eslint.org/docs/rules/no-compare-neg-zero}
*
* @example
* // Bad...
* var x;
* if ( x === -0 ) {
*     // Do something...
* }
*/<commit_msg>Require a `return` statement in getters and fix lint error<commit_after>'use strict';

/**
* ESLint rules to catch programmer errors.
*
* @namespace rules
*/
var rules = {};

/**
* Never allow a `for` loop with a stop condition which can never be reached.
*
* @name for-direction
* @memberof rules
* @type {string}
* @default 'error'
* @see [for-direction]{@link http://eslint.org/docs/rules/for-direction}
*
* @example
* // Bad...
* var i;
* for ( i = 0; i < 10; i-- ) {
*     // Do something...
* }
*
* @example
* // Good...
* var i;
* for ( i = 0; i < 10; i++ ) {
*     // Do something...
* }
*/
rules[ 'for-direction' ] = 'error';

/**
* Require a `return` statement in property getters.
*
* @name 'getter-return'
* @memberof rules
* @type {string}
* @default 'error'
* @see [getter-return]{@link https://eslint.org/docs/rules/getter-return}
*
* @example
* // Bad...
* Object.defineProperty( {}, 'foo', {
*     'get': function get() {
*         // No return...
*     }
* });
*
* @example
* // Good...
* Object.defineProperty( {}, 'foo', {
*     'get': function get() {
*         return 'bar'
*     }
* });
*/
rules[ 'getter-return' ] = 'error';

/**
* Warn when using `await` inside of loops.
*
* @name no-await-in-loop
* @memberof rules
* @type {string}
* @default 'warn'
* @see [no-await-in-loop]{@link http://eslint.org/docs/rules/no-await-in-loop}
*/
rules[ 'no-await-in-loop' ] = 'warn';

/**
* Never allow comparison to negative zero.
*
* @name no-compare-neg-zero
* @memberof rules
* @type {string}
* @default 'error'
* @see [no-compare-neg-zero]{@link http://eslint.org/docs/rules/no-compare-neg-zero}
*
* @example
* // Bad...
* var x;
* if ( x === -0 ) {
*     // Do something...
* }
*/
{'fraction_non_alphanumeric': 0.22101576182136604, 'fraction_numerical': 0.004903677758318739, 'mean_word_length': 2.823293172690763, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3502987', 'n_tokens_mistral': 1088, 'n_tokens_neox': 1082, 'n_words': 272}