{"size": 1291, "ext": "js", "max_stars_repo_path": "test/generic-rules.spec.js", "max_stars_repo_name": "5im0n/eslint-config-pouloum", "max_stars_repo_stars_event_min_datetime": "2016-01-01T13:39:43.000Z", "max_stars_repo_stars_event_max_datetime": "2016-01-01T13:39:43.000Z", "max_issues_repo_path": "test/generic-rules.spec.js", "max_issues_repo_name": "5im0n/eslint-config-pouloum", "max_issues_repo_issues_event_min_datetime": "2015-12-10T21:18:45.000Z", "max_issues_repo_issues_event_max_datetime": "2016-02-18T19:39:40.000Z", "max_forks_repo_path": "test/generic-rules.spec.js", "max_forks_repo_name": "5im0n/eslint-config-pouloum", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 26.3469387755, "max_line_length": 61, "alphanum_fraction": 0.7211463981}
import test from 'ava';
import isPlainObj from 'is-plain-obj';

import rulesPossibleErrors from '../rules/possible-errors';
import rulesBestPractices from '../rules/best-practices';
import rulesStrictMode from '../rules/strict-mode';
import rulesVariables from '../rules/variables';
import rulesStylisticIssues from '../rules/stylistic-issues';
import rulesEcmaScript6 from '../rules/ecmascript-6';
import rulesNode from '../rules/node';


/* Generic Rules */

test('Best Practices', t => {
  t.true(isPlainObj(rulesBestPractices));
  t.true(isPlainObj(rulesBestPractices.rules));
});

test('Ecmascript-6', t => {
  t.true(isPlainObj(rulesEcmaScript6));
  t.true(isPlainObj(rulesEcmaScript6.rules));
});

test('Node.js', t => {
  t.true(isPlainObj(rulesNode));
  t.true(isPlainObj(rulesNode.rules));
});

test('Possible errors', t => {
  t.true(isPlainObj(rulesPossibleErrors));
  t.true(isPlainObj(rulesPossibleErrors.rules));
});

test('Strict mode', t => {
  t.true(isPlainObj(rulesStrictMode));
  t.true(isPlainObj(rulesStrictMode.rules));
});

test('Stylistic issues', t => {
  t.true(isPlainObj(rulesStylisticIssues));
  t.true(isPlainObj(rulesStylisticIssues.rules));
});

test('Variables', t => {
  t.true(isPlainObj(rulesVariables));
  t.true(isPlainObj(rulesVariables.rules));
});
