{"size": 1313, "ext": "js", "max_stars_repo_path": "scripts/node-tests.js", "max_stars_repo_name": "gertig/eslint-plugin-proper-arrows", "max_stars_repo_stars_event_min_datetime": "2019-03-11T13:52:46.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-19T00:54:37.000Z", "max_issues_repo_path": "scripts/node-tests.js", "max_issues_repo_name": "gertig/eslint-plugin-proper-arrows", "max_issues_repo_issues_event_min_datetime": "2019-03-11T14:13:22.000Z", "max_issues_repo_issues_event_max_datetime": "2021-04-26T19:55:24.000Z", "max_forks_repo_path": "scripts/node-tests.js", "max_forks_repo_name": "gertig/eslint-plugin-proper-arrows", "max_forks_repo_forks_event_min_datetime": "2019-03-11T21:40:46.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-16T06:43:51.000Z"}
{"max_stars_count": 293, "max_issues_count": 32, "max_forks_count": 17, "avg_line_length": 32.825, "max_line_length": 91, "alphanum_fraction": 0.7075399848}
#!/usr/bin/env node

"use strict";

var path = require("path");

var Linter = require("eslint").Linter;
var eslinter = global.eslinter = new Linter();
var properArrows;

/* istanbul ignore next */
if (process.env.TEST_DIST) {
	properArrows = require(path.join(__dirname,"..","dist","eslint-plugin-proper-arrows.js"));
}
/* istanbul ignore next */
else if (process.env.TEST_PACKAGE) {
	properArrows = require(path.join(__dirname,".."));
}
else {
	properArrows = require(path.join(__dirname,"..","lib","index.js"));
}

eslinter.defineRule("@getify/proper-arrows/params",properArrows.rules.params);
eslinter.defineRule("@getify/proper-arrows/name",properArrows.rules.name);
eslinter.defineRule("@getify/proper-arrows/where",properArrows.rules.where);
eslinter.defineRule("@getify/proper-arrows/return",properArrows.rules.return);
eslinter.defineRule("@getify/proper-arrows/this",properArrows.rules.this);

global.QUnit = require("qunit");

require(path.join("..","tests","qunit.config.js"));
require(path.join("..","tests","tests.params.js"));
require(path.join("..","tests","tests.name.js"));
require(path.join("..","tests","tests.where.js"));
require(path.join("..","tests","tests.return.js"));
require(path.join("..","tests","tests.this.js"));
require(path.join("..","tests","tests.trivial.js"));

QUnit.start();
