<commit_before>/* eslint-env node, mocha */
/* eslint-disable prefer-arrow-callback */
"use strict";
const {strictEqual} = require("assert");
const {join} = require("path");
const {emptyDir} = require("fs-extra");
const {writeFileSync, readFileSync} = require("fs");
const pkg = require("../package.json");

const [,,,,,,,param7, param8] = process.argv;
const version = (param7 === "--version") ? param8 : "0.0.0";

console.log("process.argv", process.argv);
console.log("version", version);
throw new Error("Cancelled");

/**
 * @param {"legacy"|"commonjs"|"typescript"} id
 * @return {Object}
 */
function getRules(id) {
	const rules = {};

	// Enforce "for" loop update clause moving the counter in the right direction.
	// @see https://eslint.org/docs/rules/for-direction
	rules["for-direction"] = "error";

	// Enforce `return` statements in getters
	// @see https://eslint.org/docs/rules/getter-return
	rules["getter-return"] = "error";

	// Disallow using an async function as a Promise executor
	// @see https://eslint.org/docs/rules/no-async-promise-executor
	rules["no-async-promise-executor"] = "error"; // NEW

	// Disallow `await` inside of loops
	// @see https://eslint.org/docs/rules/no-await-in-loop
	rules["no-await-in-loop"] = "off";

	// Disallow comparing against -0
	// @see https://eslint.org/docs/rules/no-compare-neg-zero
	rules["no-compare-neg-zero"] = "error";

	// Disallow assignment operators in conditional expressions
	// @see https://eslint.org/docs/rules/no-cond-assign<commit_msg>chore: remove a debug trace<commit_after>/* eslint-env node, mocha */
/* eslint-disable prefer-arrow-callback */
"use strict";
const {strictEqual} = require("assert");
const {join} = require("path");
const {emptyDir} = require("fs-extra");
const {writeFileSync, readFileSync} = require("fs");
const pkg = require("../package.json");

const [,,,,,,,param7, param8] = process.argv;
const version = (param7 === "--version") ? param8 : "0.0.0";

console.log("process.argv", process.argv);
console.log("version", version);

/**
 * @param {"legacy"|"commonjs"|"typescript"} id
 * @return {Object}
 */
function getRules(id) {
	const rules = {};

	// Enforce "for" loop update clause moving the counter in the right direction.
	// @see https://eslint.org/docs/rules/for-direction
	rules["for-direction"] = "error";

	// Enforce `return` statements in getters
	// @see https://eslint.org/docs/rules/getter-return
	rules["getter-return"] = "error";

	// Disallow using an async function as a Promise executor
	// @see https://eslint.org/docs/rules/no-async-promise-executor
	rules["no-async-promise-executor"] = "error"; // NEW

	// Disallow `await` inside of loops
	// @see https://eslint.org/docs/rules/no-await-in-loop
	rules["no-await-in-loop"] = "off";

	// Disallow comparing against -0
	// @see https://eslint.org/docs/rules/no-compare-neg-zero
	rules["no-compare-neg-zero"] = "error";

	// Disallow assignment operators in conditional expressions
	// @see https://eslint.org/docs/rules/no-cond-assign
{'fraction_non_alphanumeric': 0.1899070385126162, 'fraction_numerical': 0.005312084993359893, 'mean_word_length': 4.124149659863946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '3471351', 'n_tokens_mistral': 1006, 'n_tokens_neox': 993, 'n_words': 228}