eslint-plugin-sort-class-members
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -29,3 +29,3 @@ 'use strict'; | ||
return { | ||
var rules = { | ||
ClassDeclaration: function ClassDeclaration(node) { | ||
@@ -119,2 +119,6 @@ var members = getClassMemberInfos(node, context.getSourceCode(), orderedSlots); | ||
}; | ||
rules.ClassExpression = rules.ClassDeclaration; | ||
return rules; | ||
} | ||
@@ -121,0 +125,0 @@ |
{ | ||
"name": "eslint-plugin-sort-class-members", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "ESLint rule for enforcing consistent ES6 class member order.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24139
443