<commit_before>var path = require('path'),
    naming = require('bem-naming'),
    vow = require('vow'),
    vfs = require('enb/lib/fs/async-fs'),
    scanner = require('enb-bem-pseudo-levels/lib/level-scanner'),
    configurator = require('./node-configurator'),
    deps = require('enb-bem/lib/deps/deps');

function deprecateOption(option, replacement) {
    console.warn('WARNING!');
    console.warn('%s is deprecated.', option);
    console.warn('use %s option instead', replacement);
}

module.exports = function (helper, exampleTaskName, exampleChannel) {
    return {
        configure: function (options) {
            options || (options = {});
            options.exampleSets || (options.exampleSets = []);
            options.docSuffixes || (options.docSuffixes = ['md', 'wiki']);
            options.docI18NSuffixes = options.langs ? buildI18NSuffixes(options.docSuffixes, options.langs) : [];

            if (options.jsdoc !== false) {
                options.jsSuffixes && deprecateOption('jsSuffixes', 'jsdoc.suffixes');
                options.jsdocParser && deprecateOption('jsdocParser', 'jsdoc.parser');

                options.jsdoc || (options.jsdoc = {});

                options.jsdoc.suffixes || (options.jsdoc.suffixes = (options.jsSuffixes || ['js']));
                options.jsdoc.parser || (options.jsdoc.parser = (options.jsdocParser || ['jsd']));
            }

            options._examples = [];
            this._dependOnExamples(options);<commit_msg>Updated deprecate option warning<commit_after>var path = require('path'),
    naming = require('bem-naming'),
    vow = require('vow'),
    vfs = require('enb/lib/fs/async-fs'),
    scanner = require('enb-bem-pseudo-levels/lib/level-scanner'),
    configurator = require('./node-configurator'),
    deps = require('enb-bem/lib/deps/deps');

function deprecateOption(option, replacement) {
    console.warn('WARNING!');
    console.warn('Option `%s` is deprecated.', option);
    console.warn('Use `%s` option instead.', replacement);
}

module.exports = function (helper, exampleTaskName, exampleChannel) {
    return {
        configure: function (options) {
            options || (options = {});
            options.exampleSets || (options.exampleSets = []);
            options.docSuffixes || (options.docSuffixes = ['md', 'wiki']);
            options.docI18NSuffixes = options.langs ? buildI18NSuffixes(options.docSuffixes, options.langs) : [];

            if (options.jsdoc !== false) {
                options.jsSuffixes && deprecateOption('jsSuffixes', 'jsdoc.suffixes');
                options.jsdocParser && deprecateOption('jsdocParser', 'jsdoc.parser');

                options.jsdoc || (options.jsdoc = {});

                options.jsdoc.suffixes || (options.jsdoc.suffixes = (options.jsSuffixes || ['js']));
                options.jsdoc.parser || (options.jsdoc.parser = (options.jsdocParser || ['jsd']));
            }

            options._examples = [];
            this._dependOnExamples(options);
{'fraction_non_alphanumeric': 0.16041182331451345, 'fraction_numerical': 0.002656924609764198, 'mean_word_length': 2.83206106870229, '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': '2677588', 'n_tokens_mistral': 923, 'n_tokens_neox': 879, 'n_words': 143}