Skip to content

Commit

Permalink
New: rule lines-between-class-methods(fixes eslint#5949).
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Aug 22, 2017
1 parent ff8c4bb commit 7321073
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions lib/rules/lines-between-class-methods.js
@@ -0,0 +1,41 @@
/**
* @fileoverview Rule to enforce lines between class methods
* @author 薛定谔的猫
*/
"use strict";

//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------

const astUtils = require("../ast-utils");

//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------

//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------


module.exports = {
meta: {
docs: {
description: "enforce lines between class methods",
category: "Stylistic Issues",
recommended: false
},

fixable: "whitespace",

schema: null
},

create(context) {
return {

};

}
};

0 comments on commit 7321073

Please sign in to comment.