<commit_before>'use strict';

var args = require('yargs').argv;
var plugins = require('gulp-load-plugins')({lazy: true});
var fs = require('fs');
var handyman = require('pipeline-handyman');
var path = require('path');
var lazypipe = require('lazypipe');

var pipelineConfig = {
  disableJSCS: false,
  parseOptions: {
    ecmaVersion: 5ç
  },
  reporter: {
    verbose: true
  }
};
var jscsConfig = resolveConfigFile('.jscsrc');
var esLintConfig = resolveConfigFile('.eslintrc');

module.exports = {
  validateJS: function (options) {
    if (options) {
      var keyArray = Object.keys(options);

      if (typeof options !== 'object') {
        handyman.log('Validading js with ESlint ecmaScript5, ** Options not valid **');
      }

      for (var key in keyArray) {
        if (keyArray[key] === 'ecmaVersion') {
          pipelineConfig.parseOptions.ecmaVersion = options.ecmaVersion
        }
      }
    }

    switch (true) {

      case pipelineConfig.parseOptions.ecmaVersion >= 3 && pipelineConfig.parseOptions.ecmaVersion <= 5:
        handyman.log('Validating js version ' + pipelineConfig.parseOptions.ecmaVersion + ' with ESlint');
        break;<commit_msg>fixed errant character<commit_after>'use strict';

var args = require('yargs').argv;
var plugins = require('gulp-load-plugins')({lazy: true});
var fs = require('fs');
var handyman = require('pipeline-handyman');
var path = require('path');
var lazypipe = require('lazypipe');

var pipelineConfig = {
  disableJSCS: false,
  parseOptions: {
    ecmaVersion: 5
  },
  reporter: {
    verbose: true
  }
};
var jscsConfig = resolveConfigFile('.jscsrc');
var esLintConfig = resolveConfigFile('.eslintrc');

module.exports = {
  validateJS: function (options) {
    if (options) {
      var keyArray = Object.keys(options);

      if (typeof options !== 'object') {
        handyman.log('Validading js with ESlint ecmaScript5, ** Options not valid **');
      }

      for (var key in keyArray) {
        if (keyArray[key] === 'ecmaVersion') {
          pipelineConfig.parseOptions.ecmaVersion = options.ecmaVersion
        }
      }
    }

    switch (true) {

      case pipelineConfig.parseOptions.ecmaVersion >= 3 && pipelineConfig.parseOptions.ecmaVersion <= 5:
        handyman.log('Validating js version ' + pipelineConfig.parseOptions.ecmaVersion + ' with ESlint');
        break;
{'fraction_non_alphanumeric': 0.13752122241086587, 'fraction_numerical': 0.003395585738539898, 'mean_word_length': 3.4221388367729833, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2039587', 'n_tokens_mistral': 737, 'n_tokens_neox': 717, 'n_words': 165}