<commit_before>//
// ECMAScript 6
//
// These rules are only relevant to ES6 environments and are off by default.
//

module.exports = {
	env: {
		es6: true
	},
	parserOptions: {
		ecmaVersion: 6,
		sourceType: 'module',
		ecmaFeatures: {
			"arrowFunctions": true,
			"binaryLiterals": true,
			"blockBindings": true,
			"classes": true,
			"defaultParams": true,
			"destructuring": true,
			"experimentalObjectRestSpread": true,
			"forOf": true,
			"generators": true,
			"modules": true,
			"objectLiteralComputedProperties": true,
			"objectLiteralDuplicateProperties": true,
			"objectLiteralShorthandMethods": true,
			"objectLiteralShorthandProperties": true,
			"octalLiterals": true,
			"regexUFlag": true,
			"regexYFlag": true,
			"spread": true,
			"superInFunctions": true,
			"templateStrings": true,
			"unicodeCodePointEscapes": true,
			"globalReturn": true,
			"jsx": true
		}
	},

	rules: {
		// enforces no braces where they can be omitted
		// http://eslint.org/docs/rules/arrow-body-style
		"arrow-body-style": [2, "always"],

		// require parens in arrow function arguments
		"arrow-parens": [2, "always"],

		// require space before/after arrow function"s arrow
		// http://eslint.org/docs/rules/arrow-spacing
		"arrow-spacing": [2, {
			"before": true,
			"after": true
		}],

		// verify super() callings in constructors
		"constructor-super": 2,
<commit_msg>+ arrow body braces as needed, do not enforce for simple arrow functions<commit_after>//
// ECMAScript 6
//
// These rules are only relevant to ES6 environments and are off by default.
//

module.exports = {
	env: {
		es6: true
	},
	parserOptions: {
		ecmaVersion: 6,
		sourceType: 'module',
		ecmaFeatures: {
			"arrowFunctions": true,
			"binaryLiterals": true,
			"blockBindings": true,
			"classes": true,
			"defaultParams": true,
			"destructuring": true,
			"experimentalObjectRestSpread": true,
			"forOf": true,
			"generators": true,
			"modules": true,
			"objectLiteralComputedProperties": true,
			"objectLiteralDuplicateProperties": true,
			"objectLiteralShorthandMethods": true,
			"objectLiteralShorthandProperties": true,
			"octalLiterals": true,
			"regexUFlag": true,
			"regexYFlag": true,
			"spread": true,
			"superInFunctions": true,
			"templateStrings": true,
			"unicodeCodePointEscapes": true,
			"globalReturn": true,
			"jsx": true
		}
	},

	rules: {
		// enforces no braces where they can be omitted
		// http://eslint.org/docs/rules/arrow-body-style
		"arrow-body-style": [2, "as-needed"],

		// require parens in arrow function arguments
		"arrow-parens": [2, "always"],

		// require space before/after arrow function"s arrow
		// http://eslint.org/docs/rules/arrow-spacing
		"arrow-spacing": [2, {
			"before": true,
			"after": true
		}],

		// verify super() callings in constructors
		"constructor-super": 2,

{'fraction_non_alphanumeric': 0.14492242595204513, 'fraction_numerical': 0.005641748942172073, 'mean_word_length': 3.6661184210526314, 'pattern_counts': {'":': 58, '<': 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': '50629', 'n_tokens_mistral': 1098, 'n_tokens_neox': 928, 'n_words': 240}