<commit_before>var config = require('../')
var test = require('tape')

test('test basic properties of config', function (t) {
  t.ok(isObject(config.ecmaFeatures))
  t.ok(isObject(config.env))
  t.ok(isObject(config.globals))
  t.ok(isObject(config.rules))
  t.end()
})

function isObject (obj) {
  return typeof obj === 'object' && obj !== null
}
<commit_msg>test: fix for eslint 2<commit_after>var config = require('../')
var test = require('tape')

test('test basic properties of config', function (t) {
  t.ok(isObject(config.parserOptions))
  t.ok(isObject(config.env))
  t.ok(isObject(config.globals))
  t.ok(isObject(config.rules))
  t.end()
})

function isObject (obj) {
  return typeof obj === 'object' && obj !== null
}

{'fraction_non_alphanumeric': 0.1821917808219178, 'fraction_numerical': 0.0013698630136986301, 'mean_word_length': 4.666666666666667, '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': '1491979', 'n_tokens_mistral': 261, 'n_tokens_neox': 259, 'n_words': 58}