eslint-plugin-function-name
Version:
An eslint plugin to enforce method or function name stick to the conventions.
23 lines (14 loc) • 655 B
JavaScript
/**
* @fileoverview An eslint plugin to enforce methods or functions begin with a verb.
* @author legend80s
*/
;
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var requireIndex = require("requireindex");
//------------------------------------------------------------------------------
// Plugin Definition
//------------------------------------------------------------------------------
// import all rules in lib/rules
module.exports.rules = requireIndex(__dirname + "/rules");