Add basic plugin and rule scaffolding using yo eslint

This commit is contained in:
2018-08-23 09:09:15 +05:30
parent 8353304042
commit 1f0218c87e
6 changed files with 216 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
/**
* @fileoverview Import statements should be grouped by extensions and groups can have custom order between them
* @author Abhas Bhattacharya
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var requireIndex = require("requireindex");
//------------------------------------------------------------------------------
// Plugin Definition
//------------------------------------------------------------------------------
// import all rules in lib/rules
module.exports.rules = requireIndex(__dirname + "/rules");