{"size": 261, "ext": "js", "max_stars_repo_path": "app/extend/context.js", "max_stars_repo_name": "swfbarhr/egg-swagger-doc", "max_stars_repo_stars_event_min_datetime": "2019-11-18T02:36:19.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-26T02:18:18.000Z", "max_issues_repo_path": "app/extend/context.js", "max_issues_repo_name": "Ron-Dong/egg-swagger-pro2", "max_issues_repo_issues_event_min_datetime": "2018-07-10T06:34:54.000Z", "max_issues_repo_issues_event_max_datetime": "2019-11-06T09:49:45.000Z", "max_forks_repo_path": "app/extend/context.js", "max_forks_repo_name": "Ron-Dong/egg-swagger-pro2", "max_forks_repo_forks_event_min_datetime": "2019-12-11T11:02:06.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-22T03:42:22.000Z"}
{"max_stars_count": 108, "max_issues_count": 64, "max_forks_count": 37, "avg_line_length": 17.4, "max_line_length": 65, "alphanum_fraction": 0.5900383142}
'use strict';
const { getValidateRuler } = require('../../lib/contract/index');

const RULE = Symbol('Context#rule');
module.exports = {
  get rule() {
    if (!this[RULE]) {

      this[RULE] = getValidateRuler(this.app);

    }
    return this[RULE];
  },
};
